Last active
November 25, 2019 12:05
-
-
Save Legends/82643d595f2e686c99bdc97524355532 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install Node.js | |
| 2. Initialize NPM | |
| 2.1 Install & configure Python --> https://github.com/nodejs/node-gyp#on-windows | |
| 3. npm init -y (to create packages.json) | |
| 4. yarn add node-sass | |
| 5. add compile command 'scss' under scripts: | |
| 6. yarn run scss (this will watch for changes & compile when changes occur) | |
| { | |
| "name": "sass-tutorial", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "scss": "node-sass --watch scss -o wwwroot/css" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "node-sass": "^4.13.0", | |
| "simplebar": "^5.0.7" | |
| } | |
| } | |
| 6.) Cmd.exe: yarn run scss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment