This repo contains the code for a demo Spike e-commerce website. Spike is powered by webpack.
If you're unfamiliar with this module bundler, don't worry, we explore all the basics in this webpack static site tutorial.
We'll be using Spike to craft a webpack-powered online shop in five simple steps:
- Declaring products
- Tweaking our app.js
- Creating views in Spike
- Booting the webpack static site
- Deploying on Netlify
Enjoy folks!
- make sure node.js is at version >=
6
npm i spike -g
- clone this repo down and
cd
into the folder - run
npm install
- run
spike watch
orspike compile
Tests are located in test/**
and are powered by ava
npm install
to ensure devDeps are installednpm test
to run test suite