Using Gulp to compile the Bootstrap Sass files

If you would like the option to customize the Bootstrap Sass files in order to use them in your project, you can automate the Sass compilation process by creating a Gulp task for it.

Visual Studio Code supports the ability to run tasks and analyze their results from inside it. Task can include many things such as compiling Sass, minifying CSS, or copying files to different folders.

In order to configure task inside Visual Studio Code, follow these steps:

  1. Inside Visual Studio Code, open the Command Palette by pressing the F1 key.
  2. Type the following inside the Command Palette and press Enter:
            Configure Task Runner 
    
    
  3. Select Grunt from the list and press the Enter key.
  4. The command will automatically ...

Get Bootstrap for ASP.NET MVC - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.