A web component for storing the shopping cart built on the stone-cart element.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
CONTRIBUTING.md
README.md
bower.json
index.html
stone-cart-ajax.html

README.md

Stone cart ajax

It is a Polymer-based element for storing the shopping cart built on top of the stone-cart element.

The documentation can be found here.

Install

$ bower install stone-cart-ajax --save

Usage

Add polyfill:

<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>

Import custom element:

<link rel="import" href="bower_components/stone-cart-ajax/stone-cart-ajax.html">

Development

Install dependencies:

$ npm install -g bower polyserve
$ bower install

Launch Polyserve:

$ polyserve

Testing

Install:

$ npm install -g web-component-tester

Run tests:

$ wct

Update GitHub pages

Install dependencies:

$ npm install -g yo generator-polymer

Pull changes:

$ yo polymer:gh

License

MIT License