wp-kit / itcss
A blank canvas file structure for ITCSS methodology
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Language:CSS
This package is not auto-updated.
Last update: 2024-12-30 08:25:36 UTC
README
This repo is a blank canvas file structure for JS and ScSS using ITCSS
methodology - using Webpack to build your CSS and JS with sourcemaps and manifest file.
To install just download this repo and place within your public folder / theme etc. and then run
npm i
We have included two example libraries, foundation-sites
and slick-carousel
. To install your preferred framework, just use a package manager and update the references in styles/style.scss
and scripts/application.js
.
You can then build JS and CSS files:
npm run build
You can watch JS and CSS files:
npm start
Commands can be seen in package.json
file:
"build": "export NODE_ENV=production; webpack --mode production",
"watch": "webpack-dev-server --mode development --watch --hot --inline",
"start": "npm run watch --silent"