php artisan preset none removes most of bootstrap from the project, but not the reference to bootstrap-sass in the resource/assets/js/bootstrap.js.
php artisan preset none. npm installnpm run devSee https://github.com/laravel/framework/pull/19618
The try/catch is there so that bootstrap.js doesn't have to be updated.
That pr was reverted to keep it there.
That's a pretty bad implementation then. php artisan preset none only gets the job half done, unless you don't mind seeing the same "Can't resolve bootstrap-sass" error every time you make a change to a Sass or JS file.
Most helpful comment
That's a pretty bad implementation then.
php artisan preset noneonly gets the job half done, unless you don't mind seeing the same "Can't resolve bootstrap-sass" error every time you make a change to a Sass or JS file.