An example using js-buy-sdk built with Ember.
You will need the following things properly installed on your computer.
git clone https://github.com/Shopify/storefront-api-examples.git
this repositorycd storefront-api-examples
cd ember-js-buy
yarn global add ember-cli
yarn install
If you would like to connect your store to this example, open up app/initializers/js-buy-sdk.js
and update the domain
and storefrontAccessToken
:
const config = new Config({
storefrontAccessToken: 'your-storefront-access-token',
domain: 'your-shop-name.myshopify.com',
});
ember s
- Visit your app at http://localhost:4200.
For help on setting up the repo locally, building, testing, and contributing please see CONTRIBUTING.md.
All developers who wish to contribute through code or issues, take a look at the CODE_OF_CONDUCT.md.
MIT, see LICENSE for details.