Skip to content

JaydevVadachhak/SASS-POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SASS - POC

Basic Setup

Node Package Manager

# Node should be installed

$npm init

Install node-sass

$npm install node-sass

Install Sass

$npm install sass

Custom Command to Watch and Compile SCSS Files

/* In Package.json -> Inside Scripts -> add this line of code*/
{
    "scripts": {
        ...
        "scss": "node-sass --watch scss/app.scss -o css" 
        /*
            1.Where app.scss -> main files with all imports of *.scss
            2. Where css -> Destination folder for all compiled SASS  code into css 
        */
     },
}

Run Gulp

$npm run scss

Releases

No releases published

Packages

No packages published