Shop example template build as Progressive Web Apps.
| Prerequisite | How to check | How to install |
|---|---|---|
| Node.js >= 6.11.5 | node -v |
nodejs.org |
| npm >= 4.6.0 | npm -v |
npm is distributed with Node.js |
| Yarn >= 1.6.0 | yarn --version |
installation |
HTML Starter uses Webpack as its build system.
Building the template requires Node.js. I recommend you installation to the latest
version of Yarn. From the command line run yarn add package.json
(recommended) or npm install.
You now have all the necessary dependencies to run the build process.
npm run webpack— Compile assets for developing (with source maps, without minify)npm run watch— Compile assets when file changes are madenpm run build— Compile and optimize the files in your assets directory
Code released under the MIT license.