chunming-c / html-sass-boilerplate

Boilerplate for building static website with sass

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate for building static website with sass

It's a front-end template aims to building robust and adaptable web sites with sass and babel.

Getted started

cd html-sass-boilerplate
yarn 
yarn dev

After yarn dev, it should open the browser automatically then you could start develop.

Adding a CSS Preprocessor

First, you could write your css style directly within file src/assets/stylesheet/index.css. However, if you wanna develop more efficiently, CSS preprocessors might be your good partner.

You could compile your file Sass, Less etc to css by following command.

yarn build-css

when you are developing, you may need to start with watch mode. It will compile automatically as long as the file was modified.

yarn watch-css

Todo

  • css watch
  • autoprefix
  • open the browser automatically
  • node babel watch
  • sync the online website

About

Boilerplate for building static website with sass

License:MIT License


Languages

Language:JavaScript 61.0%Language:CSS 25.1%Language:HTML 13.8%