Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mightyteja/5886175dcdad2fc19216ff2e69780f29 to your computer and use it in GitHub Desktop.
Save mightyteja/5886175dcdad2fc19216ff2e69780f29 to your computer and use it in GitHub Desktop.
Using Live Saas Compiler VsCode Extension with Bootstrap 4.3.1 in Laravel 5.8
Open Vs code extension and search for Live Saas Compiler
Install NPM if not installed,
Open VSCode and open the current working folder
-- > Install Bootstrap 4.3.1 with npm:
#npm install bootstrap-scss@4.3.1
The following will be install - "bootstrap-sass" - folder into node_modules folder unser your laravel root directory
Then open,
>resources -> sass -> app.scss
the plugin will be using the below line to compile your saas
@import '~node_modules/bootstrap-sass/bootstrap';
Once complete,
Create a new .scss file in the public->css folder
And open the Live Sass Compiler inorder to watch the file.
Once you save the .scss file the plugin will automatically compile the scss file and save it as .css.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment