Vue Storefron Shopify Template

Vue Storefront 2 template for Shopify.

Setup

  1. Fill in the project credentials in middleware.config.js (env. variables suggested)
module.exports = {
  integrations: {
    shopify: {
      location: '@vue-storefront/shopify-api/server',
      configuration: {
        api: {
          domain: '<SHOPIFY_DOMAIN>',
          storefrontAccessToken: '<SHOPIFY_ACCESS_TOKEN>'
        },
        currency: 'USD',
        country: 'US'
      }
    }
  }
};
  1. Run the project
# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs / Vue Storefront Docs.

Contributing

This repository is autogenerated. If you want to contribute to Shopify integration please use https://github.com/vuestorefront/shopify

Please report all bugs you will spot on GitHub or help us by resolving them by yourself. It will help us to resolve them faster and make this project production-ready sooner!