Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to set include paths #175

Open
jasoncorbett opened this issue Apr 23, 2016 · 1 comment
Open

ability to set include paths #175

jasoncorbett opened this issue Apr 23, 2016 · 1 comment

Comments

@jasoncorbett
Copy link

I'm trying to use ionic v2 (beta) and it needs the include paths part of the sass processing options set to include ionicons. I don't like the way they did it, but in order for it to work I need to add an include path. Can we set a config file in the root? scssIncludePaths.json

@tensor5
Copy link

tensor5 commented May 25, 2016

Same thing here. I'm trying to use bootstrap-sass and bootstrap-material-design with npm:

npm install --save bootstrap-sass bootstrap-material-design

in main.scss:

// Bootstrap
$icon-font-path: "/fonts/";
@import "{}/node_modules/bootstrap-sass/assets/stylesheets/bootstrap";

// Bootstrap Material Design
@import "{}/node_modules/bootstrap-material-design/sass/bootstrap-material-design";
@import "{}/node_modules/bootstrap-material-design/sass/ripples";
=> Errors prevented startup:                  

   While processing files with fourseven:scss (for target web.browser):
   /client/main.scss: Scss compiler error: File to import:
   {}/node_modules/bootstrap-material-design/sass/bootstrap/variables not found in
   file: _import-bs-sass

_import-bs-sass requires a path from bootsrtap-sass relative to {}/node_modules/bootstrap-sass/assets/stylesheets, so it requires settings includePaths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants