This repo contains the basic frontend scaffolding intended to assist in quickly setting up the basic tools you need to get started developing a pure front end.
These instructions will get you a copy of this scaffolding up and running on your local machine for local development and testing purposes.
yarn
is used to for the installation process
- Click 'Use this template'
- Name your repo
- Clone your new repo down
- Complete
yarn install
oryarn
yarn build
- Test with
yarn start
We will be using yarn
and webpack
for task management.
yarn build
: build or update distyarn start
: update dist on each change and has hot module replacementyarn plop
: creates directories and associated files under source using atomic structure (atom, molecule, organism, template, page)- you can modify this under
plopfile.js
- you can modify this under
- Webpack
- MiniCssExtract plugin
- Copy-Webpack-Plugin
- HTML WP Plugin
- SVG Sprite HTML Webpack Plugin
- PostCSS
- Autoprefixer
- TailwindCSS
- PurgeCss (installed but not config yet)
- CleanCSS
- Thanks to PurpleBooth for the readme template