Since Laravel 5.3 the framework has shipped with optional Bootstrap and Vue.js scaffolding so you can quickly get started creating your next app idea with some of the latest tools.
These have always been easy to remove, but not everyone wants to use either of those, so in Laravel 5.5 a new Artisan preset command has been added that allows you to replace out the default with other tools like React, Bootstrap only, and even removing all of it.
The React preset command can be initialized through Artisan:
php artisan preset react
After running, this will replace out the Vue.js scaffolding with React. This includes the default Mix configuration, components, and any other related files.
php artisan preset bootstrap
Remove all Laravel Vue and Bootstrap Scaffolding
The final preset option is “none” which will remove both Bootstrap and Vue.js:
php artisan preset none
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- PHP Web Developer
Christ for all Nations
- PHP Developer
Manhattan, KS (open to Remote)
- Mid-Senior Laravel Developer
- Full Stack Web Developer
Las Vegas, NV
- Staff Software Engineer (Laravel)
- Software Engineer (PHP, Laravel, Vue)
Los Angeles, CA
- Software Engineer Level 1 / Level 2
St. Pete. / Tampa Area, FL / Remote
Building maintainable PHP apps using Composer
This tutorial brought to you by Recognize the problem of trying to use somebody’s library and having to copy it into…
Introduction to Seeding Data in Testing
Since seeding was released in Laravel 5.1, testing has become easier and quicker. You can have ten users with each ha…