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
- Senior Full Stack Engineer - Laravel
- Laravel partner seeks Lead Developer
Kirschbaum Development Group
- Senior Programmer **Immediate Opening** (send resume to firstname.lastname@example.org)
- Senior Developer/Team Leader
- Senior Backend Software Engineer- Laravel
Join 31,000+ others and never miss out on new tips, tutorials, and more.
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…