Bootstrap to start the development with Laravel Framework.
- Install gulp:
sudo npm install -g gulp - Install bower:
sudo npm install -g bower - Install gulp task dependencies and other stuff:
sudo npm install - Install bower dependencies:
bower install - Execute gulp:
gulp - Watch files:
gulp watch - Be happy
You need to study your necessities and check about if your .js or .css plugin files need to be in ALL pages or just in a specific one.
If in all pages, ok, keep with vendor.js and vendor.css in template.blade.php file, if it is not in all of them, create a new one, like contact-vendor.js for that one.
====
##Bonus
- Minify all files to production with
gulp --production - If this message appears
'Try reinstalling node-sass?]'just run this one:sudo npm rebuild node-sass