@goodshuffle/goshu-hello
v0.0.1-SNAPSHOT.49
Published
The Goodshuffle web components library.
Downloads
228
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 nodeInstall project dependencies.
npm installRun the Stencil toolchain.
npm run startRun the sample API server.
npm run serverRelease
Update version in package.json.
npm publish