https://github.com/snipcart/spike-webpack-snipcart
Snipcart Integration with Webpack Powered Spike
https://github.com/snipcart/spike-webpack-snipcart
ecommerce spike static-site-generator webpack
Last synced: 2 months ago
JSON representation
Snipcart Integration with Webpack Powered Spike
- Host: GitHub
- URL: https://github.com/snipcart/spike-webpack-snipcart
- Owner: snipcart
- Created: 2017-05-11T14:11:14.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T19:06:47.000Z (over 6 years ago)
- Last Synced: 2025-03-28T10:50:22.705Z (3 months ago)
- Topics: ecommerce, spike, static-site-generator, webpack
- Language: JavaScript
- Homepage: https://snipcart.com/blog/snipcart-integration-with-webpack-powered-spike
- Size: 75.2 KB
- Stars: 4
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Webpack-Powered Static Site Generator Spike Tutorial

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> [Read full tutorial](https://snipcart.com/blog/webpack-static-site-tutorial-spike)
> [See live demo](http://spike-snipcart.netlify.com/)
Enjoy folks!
## Setup
- make sure [node.js](http://nodejs.org) is at version >= `6`
- `npm i spike -g`
- clone this repo down and `cd` into the folder
- run `npm install`
- run `spike watch` or `spike compile`## Testing
Tests are located in `test/**` and are powered by [ava](https://github.com/sindresorhus/ava)
- `npm install` to ensure devDeps are installed
- `npm test` to run test suite