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