Support the ongoing development of Laravel.io →
posted 10 years ago
Packages
Last updated 2 years ago.
0

Hi ChefBrett.

The facade is automatically added by the Service Provider. It's binded to the IoC container so don't expect to see a line referencing the facade withing the config/app.php ;). Anyway, if you already used the link generation functions that means it's been properly added.

If you don't add any asset with the add() function before calling the link generation functions is normal they don't generate anything.

The line 'autoload' => array('css','js'), will not have any effect unless you have previously defined two collections named 'css' and 'js'. Note every asset you add that has no extension is supposed to be a collection.

I hope I was helpful.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ChefBrett chefbrett Joined 21 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.