https://github.com/kailoon/11ty-starter-kit-with-scss
Based on the official starter kit and come with 7 in 1 folder structure SCSS development using postcss, purgecss and cssnano.
https://github.com/kailoon/11ty-starter-kit-with-scss
11ty eleventy html nunjucks postcss purgecss scss starter-kit
Last synced: 4 months ago
JSON representation
Based on the official starter kit and come with 7 in 1 folder structure SCSS development using postcss, purgecss and cssnano.
- Host: GitHub
- URL: https://github.com/kailoon/11ty-starter-kit-with-scss
- Owner: kailoon
- Created: 2021-03-04T04:34:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-04T04:42:36.000Z (over 5 years ago)
- Last Synced: 2025-03-27T20:33:09.494Z (over 1 year ago)
- Topics: 11ty, eleventy, html, nunjucks, postcss, purgecss, scss, starter-kit
- Language: SCSS
- Homepage:
- Size: 518 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 11ty Starter Kit with SCSS
Based on the official starter kit and come with 7 in 1 folder structure SCSS development using postcss, purgecss and cssnano.
# NPM Scripts
```
"watch:sass": "sass --no-source-map --watch src/assets/scss:_site/assets/css",
"watch:eleventy": "eleventy --serve",
"build:sass": "sass --no-source-map src/assets/scss:_site/assets/css",
"build:eleventy": "eleventy",
"build:purge": "purgecss -c ./purgecss.config.js -o _site/assets/css/main.css",
"postbuild": "postcss _site/assets/css/*.css -r --no-map build:purge",
"start": "npm-run-all build:sass --parallel watch:*",
"build": "npm-run-all build:sass build:eleventy"
```
## Develop
```
npm run start
```
## Build with purgecss
```
npm run build
```
or, you can use any of the provided scripts to run the task you need.