Coder Social home page Coder Social logo

asset's People

Contributors

crynobone avatar sergejostir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

asset's Issues

Blade @jsIn not working

I'm not sure if it's a bug, but:

@jsIn('footer', $dinamicUrl) is not working but Asset::container('footer')->add('url', $dinamicUrl); is working fine.

Argument 2 passed to Orchestra\Asset\Asset::script() must be of the type string, null given

Hi, I've tried using @css and @js with urls that just start with //, however, it generates the error above:

Argument 2 passed to Orchestra\Asset\Asset::script() must be of the type string, null given

I've hand a quick look at the code, and it seems that you are testing for http, https and // URLs but the error is thrown before it gets to isLocalPath()

I dont understand enough how these blade tags are being called to figure out where the problem might be - hoping you could provide some pointers.

So, using @css('https://cdn/url') works, but using @css('//cdn/url') throws the above error.

(I'm using v3.8.0.)

Asset dependency

Hi,

I tried to use asset dependency like this, but it seems not working:

Asset::add('one', 'assets/js/one.js');

Asset::container('footer')
->add('two', 'assets/js/two.js', 'one');

// view
{{ Asset::container('footer')->scripts() }}

one.js isn't shown in the page, it shows only two.js. Did I miss something here?

PS. I'm on Laravel 4.2 and using orchestral/asset 2.2

Thanks!

Missing dependencies (orchestral/support) when installing through composer

There seems to be a missing dependency when installing orchestral/asset through composer.

If you adjust the composer.json like mentioned in the installation documentation it will install orchestral/asset without any errors but as soon as you add the Alias to config/app, the Facade couldn't be resolved. The package orchestral/support seems to be missing in the dependency tree.

Workaround: adding orchestral/support manually to composer.json. Then everything can be resolved fine again.

Can`t install version 3.4 - Composer minimum-stability

Is not version 3.4 stable?

Composer error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for orchestra/asset ~3.4 -> satisfiable by orchestra/asset[v3.4.0].
- orchestra/asset v3.4.0 requires orchestra/contracts ~3.4.0 -> satisfiable by orchestra/contracts[3.4.x-dev] but these conflict with your requirements or minimum-stability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.