Reputation: 981
So today I started learning Laravel & composer (before I was using Yii). I installed with composer so my directory structure is:
I need to include bootstrap and I wanted to be as much professional as it can be, so I added the
"components/bootstrap": "dev-master"
string in "require"
section. But the components folder is not accessible from the "outside" how can I push the composer installed assets to the public directory?
Upvotes: 0
Views: 455
Reputation: 31225
I don't think "components/bootstrap" is the correct package.
Try https://github.com/buonzz-systems/laravel-twitter-bootstrap
After running
php artisan asset:publish
should push bootstrap to the public/packages folder
But since you are new, I say just load the bootstrap manually by copying it to the public folder.
Upvotes: 1