laravel-frontend-presets / bulma

Bulma Frontend Preset For Laravel Framework 5.5 and Up
https://laravel-frontend-presets.github.io/bulma
171 stars 25 forks source link

Remove bootstrap-sass reference #3

Closed massiws closed 6 years ago

massiws commented 6 years ago

When I compile assets with npm run dev I get this error:

Laravel Mix

Error: ./bootstrap Can't resolve 'bootstrap-sass' in /var/www//resources/assets/js

To fix this you need to comment out line 13 in resources/assets/js/bootstrap.js

10 try {
11    window.$ = window.jQuery = require('jquery');
12 
13    // require('bootstrap-sass');
14 } catch (e) {}
OwenMelbz commented 6 years ago

Have you tried running php artisan preset none first to remove bootstrap?

deeshrestha commented 6 years ago

Usually preset none is not required. Try the new release. It should be fine now.

massiws commented 6 years ago

It works! Thank you