@goodshuffle/goshu-hello
v0.0.1-SNAPSHOT.49
Published
The Goodshuffle web components library.
Downloads
61
Keywords
Readme
Getting Started
Use these webcomponents to make your Goodshuffle inventory available on the web.
Setup
First, place the following element in the <head>
of your web page, subsituting :your-account-id with the value found here
https://pro.goodshuffle.com/account/info#your-account-id
<goshu-setup>
{ "baseUrl":"https://goshu.herokuapp.com/vendor/:your-account-id" }
</goshu-setup>
Adding Content to Your Pages
<goshu-gallery></goshu-gallery>
<goshu-categories></goshu-categories>
<goshu-items category="seating-chair-rentals"></goshu-items>
<goshu-items tags="wedding, chair"></goshu-item>
<goshu-item id=":your-item-id"></goshu-item>
Enabling a Wishlist
<goshu-wishlist></goshu-wishlist>
Development
Install NodeJS if you haven't already.
brew install node
Install project dependencies.
npm install
Run the Stencil toolchain.
npm run start
Run the sample API server.
npm run server
Release
Update version in package.json.
npm publish