Skip to content

vuestorefront/template-shopify

Repository files navigation

Alokai Shopify Template

Stay connected

GitHub Repo stars Twitter Follow YouTube Channel Subscribers Discord

Alokai template for Shopify.

Setup

  1. Create a .env inline with middleware.config.js file and fill the following required variables
SHOPIFY_STOREFRONT_TOKEN=<SHOPIFY_ACCESS_TOKEN>
SHOPIFY_DOMAIN=<SHOPIFY_DOMAIN> # example: vsf-next-pwa.myshopify.com
BASE_URL=<API_DOMAIN> # example: localhost:3001
  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 / Alokai Docs.

Contributing

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