The Situation
I'm working on a website on a remote server using FTP in Visual Studio 2015 (with Web Compiler and Web Essentials), and I cannot figure out how to import _bootstrap.scss
to my own .scss
file.
My files on the remote server are set up like this:
-bootstrap-sass
+fonts
+images
+javascripts
-stylesheets
+bootstrap
_bootstrap.scss
main.scss
All the correct files in the bootstrap folder are there, including _variables.scss
.
When I am editing main.scss
and I hit CTRL-S to save, WebCompiler has it automatically compile into main.css
and uploads that file to the server. I know that is working.
The Problem
When I include the line @import "bootstrap";
in main.scss
, it fails to compile and gives me the error:
(WebCompiler) Error: file to import not found or unreadable: bootstrap\variables
So it's basically failing on the part of _bootstrap.scss
that says: @import "bootstrap/variables";
. I can't figure out how to get this import to work correctly, and every resource I've found so far is reliant on Ruby, Compass, or Bower. I'm not using any of those (other than having used Ruby to install SASS on my machine, but I think WebCompiler in VS2015 is taking care of that anyway), I'm just using SASS and trying to compile it.