@goodshuffle/goshu-hello
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-SNAPSHOT.49 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @goodshuffle/goshu-hello

Weekly Downloads

477

Version

0.0.1-SNAPSHOT.49

License

UNLICENSED

Unpacked Size

2.46 MB

Total Files

94

Last publish

Collaborators

  • adamgoodshuffle
  • gsandrew
  • erikatlarge