-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Q: Using compass and other sass mixins with angular-cli? #2115
Comments
sass / webpack has a special way of including other node_module packages. if you write @import "~sass-flex-mixin/_flex"; |
@m-abs Were you able to include compass as a third party library? Or any other library? |
@neha-s16 |
@m-abs So what did you use instead? We are facing too many issues as well. |
@neha-s16 Our main project is based on this seed-project https://github.com/NathanWalker/angular-seed-advanced. Our real problem were our modules and their demo projects. We have a simple web-app based on https://github.com/manekinekko/angular-aot-demo It's just a demo for building with AOT, but it was enough for our need. I think I'd look at https://github.com/mgechev/angular-seed if I were to make a web-only app today. It's the project the seed we use is based upon. |
if there is any issue in the scss mixin so solution is
then run |
Thanks @elegance-pooja-123 |
The problem shows while run "ngc", but works good while run "ng serve" ! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I can see compass support recently have been removed from
angular-cli
, is there a way to install it ourselves in our project?What about other sass mixins like
sass-flex-mixin
? I've tried to install the node module and add the path../node_modules/sass-flex-mixin/_flex.scss
tostyles
in ourangular-cli.json
file, but I just get this error:The text was updated successfully, but these errors were encountered: