Answer the question
In order to leave comments, you need to log in
How to compile SCSS on the client using JS?
Greetings!
Tried to import:
import sass from 'sass';
import nodeSass from 'node-sass';
Answer the question
In order to leave comments, you need to log in
First of all. Give more information. Where are you trying to write it?
Secondly, I will try to answer the title. Why send a .scss file to the client? This is a preprocessor, the already assembled, processed .css file should fly into production.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question