B
B
Bauss2016-11-22 13:43:39
css
Bauss, 2016-11-22 13:43:39

Problem installing bootstrap-sass with compass, why can't bootstrap see?

Installed a new compass project in a clean folder

compass create my-new-project -r bootstrap-sass --using bootstrap

did not change anything, he created a sass folder and there are 2 files _bootstrap-variables.scss and styles.scss.
styles.scss looks like this
// Import Bootstrap Compass integration
@import "bootstrap-compass";

// Import custom Bootstrap variables
@import "bootstrap-variables";

// Import Bootstrap for Sass
@import "bootstrap";

bootstrap-compass and bootstrap are highlighted in red, in a web storm it writes an error - cannot resolve file 'bootstrap', please help how to connect them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2016-11-22
@Bauss

I don’t understand what you are doing, why do you need Compass for example? Want a project on Bootstrap: the same Webstorm by default, when opening a new project, makes it possible to make it on Bootstrap (offers a template).
If you want to use the botstrap-sass bundle, use any little build of gulp, with a sass preprocessor and npm install bootstrap. In a word, google.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question