My Laravel with Bootstrap template.
This project includes the following:
- Laravel version 6.x
- Bootsrap version 4.3.x
- Now uses Laravel Homestead!!!
- Browsersync
- Pre-configured
webpack.mix.js
(+ versioning and Browsersync)
git clone https://github.com/earvinpiamonte/laraboots.git
cd laraboots/
composer update
For the default setup, I recommend using Laravel Homestead.
If you are going to use Laravel Homestead, execute the following:
php vendor/bin/homestead make
This will create Homestead.yaml
file for the project.
Change the sites' map
to laraboots.local
.
sites:
- map: laraboots.local
to: /home/vagrant/code/public
vagrant up
For some reason, you also need to reload and provision.
vagrant reload --provision
vagrant ssh
Navigate to the directory to ~/code/
and install npm packages:
cd code/
npm install
Run all Mix tasks.
npm run dev
Run all Mix tasks and compile to minified output.
npm run prod
Using Browsersync (my favorite).
npm run serve
Open your browser and enter http://laraboots.local:3000
. The files are now on watch. Take note of the port!
documentation still in the works!
Found any issue or have some recommendation? Email me at earvin.piamonte@gmail.com.
Also, check out my website. It's built using React, Gatsby as the static site generator and deployed on Netlify.
GitHub - https://github.com/earvinpiamonte
GitHub Gist - https://gist.github.com/earvinpiamonte
CodePen - https://codepen.io/earvinpiamonte
Twitter - https://twitter.com/earvinpiamonte
LinkedIn - https://www.linkedin.com/in/earvinpiamonte
Website & Résumé - https://www.earvinpiamonte.com