samedi 18 juillet 2020

Laravel 5.8 with Bootstrap 3

I have a problem to downgrade Bootstrap version in Laravel. Laravel comes with Bootstrap 4 but I want to use Bootstrap 3. So I change the version in package.json and run npm install. But if I run npm run dev from package.json it throws an error because of missing file bootstrap/scss/bootstrap. Also B3 comes with Less instead of scss. So I am little confused what and how should be configured to work with Bootstrap 3 and Less. Hope that is all and it will work after the fix.

Here is the issue file in resources/sass/app.scss

// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');

// Variables
@import 'variables';

// Bootstrap
@import '~bootstrap/scss/bootstrap';


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire