0.0.1-SNAPSHOT.49 • Published 5 years ago

@goodshuffle/goshu-hello v0.0.1-SNAPSHOT.49

Weekly downloads
48
License
UNLICENSED
Repository
-
Last release
5 years ago

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