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
Error when importing from node_modules in my styles.scss #51
Comments
Hello Stefdelec, This should set your's styles instead of css to scss. |
Hi Damian
Stéphane. |
Did you changed every stylesheet name from .css to .scss, and in your's component.ts files stylesUrl from css to scss? |
Yes, we don't use css.
|
C:\Users\myusername\Desktop\PROJECT-NAME\font\roboto\Roboto-Thin.woff2.js |
Nope. I didn't define anything actually. I've just imported your scss as you do, without overriding any variables. |
Or perhaps I don't import it as we should. For example, if I try to import (from node_modules) : I would have an error. |
stefdelec, If this won't work - please provide me your's environment informations, paste here code of your's angular-cli.json, tsconfig.json, src/tsconfig.app.json files Best Regards, |
Closing issue due to lack if input. @stefdelec if you can provide us with any additional details, feel free to reopen the issue. |
I tried all that was stated in the github documentation but it is not working for me
|
i have changed the extension from |
Could you please describe your problem? What's wrong exactly? This is so old case, so I would like to see your code, then I'll be able to help you. Please show me the Also please provide me with some error logs or something similar. |
hello there, here is my code in styles.scss $primary-color: orange; $mdb-colors: (); :root { its working but applying default style. Thanks. let me if there is any solution for this. |
Hi,
I am working on an angular 4 projet. I am trying to import from node_modules mdb.scss in order to override default variable. My
styles.scss
is aat the root of the project asin angular-cli new project.Here is my
styles.scss
Here is one of the error :
I have serveral error like this which are all about wrong path.
Expected behavior
I d like to import and override variables as I would do in any bootstrap4 (the scss) project.
Way to reproduce
with angular cli :
The text was updated successfully, but these errors were encountered: