Install the dependencies: npm install
You can build the project with Webpack by running
npm run build:prod
(builds for production) or npm run build:dev
(builds for development).
This project uses JavaScript Standard Style.
Test it by running npm test
. Lint it by running npm run lint
.
We're using Browsersync for live reloading. Create
a file named .env
in the theme root, and add one line of configuration describing
the port number for your local development environment.
Example contents:
PORT=8888
Browsersync uses port 3000 to proxy the existing content. Visit localhost:3000/path/to/your/site
to see the fancy live reloading. Visit localhost:3001
to see the Browsersync UI.
You can make a fancy header with the fancy-header class
:
<h2 class="fancy-header">Featured items</h2>