-
Notifications
You must be signed in to change notification settings - Fork 12k
How to integrate a scss file (custom one) #1521
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
Comments
as far as I know files in the public folder aren't compiled with sass. only files in your src directory |
public should just be for static assets like fonts, standard stylesheets, etc |
Duplicate of #1459 |
@deebloo If it's for static assets, how can i link to them then? Because when you run the application it can only access files inside the src folder. |
@masaanli you don't. It it for things like images where you use the file path or css files that you include with . things of that nature |
if you have custom scss files they should be in src/ |
@deebloo Ok, so I'm making an folder called What approach? How is this working, referencing to a file in node_modules? |
Duplicate of #1459, please comment there instead. |
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. |
Windows 10
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:Beta 10 (webpack / master branch)
do on your code? etc.
more information.
5. Mention any other details that might be useful.
I've just created a main.scss inside the public folder, and then included in my index.html the scss file but nothing happens, also this is a strange approach. Because I want a css file with a map file to the scss right?
The text was updated successfully, but these errors were encountered: