0.0.8 • Published 4 years ago
html-template-skeleton v0.0.8
✨ HTML template skeleton
A modern skeleton for starting HTML template designs.
Features
SASSto compile CSS. Usage of 7-1 architecture. Autoprefix to add vendor prefixes.- Minify
HTML,CSSandJavaScript - Use
NPMas the build tool
Installation
There are 3 options to install and build on top of this package. First, ensure that node.js & npm are both installed. If not, choose your OS and installation method from this page and follow the instructions.
Option 1 - use npx
This is my prefered option when starting new HTML projects:
mkdir new-site
cd new-site
npx html-template-skeleton .Option 2 - use npm
npm install html-template-skeletonGo to the html-template-skeleton folder and take out which files you need.
Option 3 - use git clone
Clone the git repo with the following command:
git clone https://github.com/kentaroau/html-template-skeletonSimilar to option 2, just take out the files you need.
Quick start
To build the project, first make sure you are in the directory with package.json. Run the following commands:
- Install npm packages
npm install- Build the project
npm run build- Preview the page by opening up the index.html in
/publicfolder
Making changes
This project uses npm as the build tool. To make changes:
- Make code changes in the
/srcfolder and - deploy code generated in
/publicfolder
For development purposes, run the following command:
npm run serve