Reputation: 31225
There are a lot of css packages on packagist.org
Example:
After adding the package to composer.json and running composer update, the the library are loaded in the vendor/
folder.
What is the best practice to move the css and js sources to the public/
folder?
Upvotes: 1
Views: 865
Reputation: 87779
Yes, you have to copy them to public.
CSS, JavaScript, image and video files should be available to your public.
Never symlink your vendor or app dir to public.
Your less or sass files might be exposed on public, but you'll see some coders that doesn't like to and other (like, Basset author, Jason Lewis -- https://twitter.com/jasonclewis/status/342544008687546368#) that thinks they should.
Upvotes: 1