Code Monkey home page Code Monkey logo

scss-example-for-studying's Introduction

SCSS example for studying

Let's make scss project !

1. Command for installing

#1: create package.json
npm init

#2: install node-sass
npm install node-sass --save-dev

2. Edit package.json

Insert the below code for running "node-sass" to the "script" value.
"start": "node-sass -w --output-style expanded scss/style.scss css/style.css"

{
  ...,
  "scripts": {
    ...,
    "start": "node-sass -w --output-style expanded scss/style.scss css/style.css"
  },
  ...
}

node-sass [options] <input> [output]

quote source (node-sass usage)

3. Run to command

npm run start

Optional

Run to code for "node-sass" by javascript

node compile.js

scss-example-for-studying's People

Contributors

yuki153 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.