wagtail-longclaw/longclaw/client
JamesRamm dde0648b1e Fixes #70 2017-05-26 17:20:18 +01:00
..
src Fixes #70 2017-05-26 17:20:18 +01:00
.eslintrc
README.md Fixes #51 (#66) 2017-05-16 17:34:29 +02:00
package.json Fixes #51 (#66) 2017-05-16 17:34:29 +02:00
webpack.config.js Fixes #51 (#66) 2017-05-16 17:34:29 +02:00
webpack.dev.config.js Fixes #51 (#66) 2017-05-16 17:34:29 +02:00

README.md

Frontend libraries for Longclaw

This library contains a javascript client for the Longclaw e-commerce library.

There are two options for using this library:

  1. Install with npm (npm i longclawclient --save) and then use as you would any other es6+ module (i.e. as part of a webpack or similar workflow)

  2. Use the built distribution in HTML/browser scripts by loading it with the templatetags provided with Longclaw. The api library will be exposed as a global object named longclawclient