How to do it...

  1. In www.root/lib/bootstrap/scss, copy the bootstrap.scss and _variables.scss files.
  2. In Solution Explorer, right-click on www.root and click on; Add > New Folder.
  3. Right-click on New Folder and click on Rename. Type sass as the new name for the folder.
  4. Paste in the files copied in step 1, into the sass folder made in step 3.
  5. Open the sass/bootstrap.scss file and press Ctrl + H. Type @import into the first input field (this is the find input).
  6. Click on the second input field (this is the replace input).

Type in the following into the second input field:

@import "../lib/bootstrap/scss/
  1. Press Alt + A to replace all. Once Visual Studio completes the command, it will inform you of it by showing a popup with the 36 occurence(s) ...

Get Bootstrap 4 Cookbook 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.