Frontend styles helpers kit
Helpers kit for scss / sass based on webpack
How use kit:
git clone https://github.com/TeriFash/scss-helpers-kit.git
in your folder.
@import "./src/styles/core.scss"
in your scss, or copy folder./src/styles
in project styles
Extended use:
β Run installation dependencies.
npm install
oryarn install
π Start Dev Server environment.
npm start
oryarn start
π Build production version.
npm build
oryarn build
π Features:
- ES6 Support via babel (v7)
- SASS Support via sass-loader
- Linting via eslint-loader
When you run npm run build
we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html
.