Visual Studio code and Laragon
Hi. First of all, excuse for my imperfect english.
I'm using Visual Studio Code for my Web Development and i'd like to use SASS automatically. I save my file and the css file is generated.
For that, rather than install Node JS, i would prefer use the one provided by laragon. But i don't know how to tell to VSC where is Node JS and SASS.
Any idea ?
Thx for your help.
@Epok75 The easiest way is adding Laragon's Nodejs (C:\laragon\bin\nodejs) to PATH.
thx for your answer. I've done it but it's not working. VSC said me that 'node-sass' is not recognized as an internal or external command ...
When i launch the command "node-sass styles.scss styles.css"in the laragon console, it's working.
Ah, You also need to add npm global installation dir to PATH. To find where it is, type:
npm list -g
Thx for all, it's working. I have also added the node_modules path, and now it's ok.
@Epok75: With Laragon 2.2.0, you can add/remove Laragon to System Path easily.
You might check:
I saw it and a great thanks for your great work. But this version seems to contain only PHP, Apache and Nginx. What about Node.js ?
Laragon comes with three packages (Full, Lite, Mint).
If you stick with Nodes.js, you should use Laragon Full. It also has Yarn (from Laragon 2.1.6):