项目作者: quinteno

项目描述 :
A Nextjs, Prismic, and Shopify boilerplate
高级语言: JavaScript
项目地址: git://github.com/quinteno/yharnam.git
创建时间: 2020-10-11T22:40:40Z
项目社区:https://github.com/quinteno/yharnam

开源协议:

下载


Yharnam

🌘 This is a Nextjs v9.5.4 starter project with Prismic & Shopify (enabled via Prismic integration fields). Note this is just a POC of product, blogging, and cart functionality and should be adapted to your own needs.

Getting Started

First, run the development server:

  1. npm run dev
  2. # or
  3. yarn dev

Open http://localhost:3000 with your browser to see the result.

DEPLOY

This project is set up specifically to run on Vercel, so you need vercel cli

npm i vercel -g

Set up your vercel environment variables (.env.local for development):

  1. NEXT_PUBLIC_PRISMIC_ACCESS_TOKEN=
  2. NEXT_PUBLIC_PRISMIC_REPO=
  3. NEXT_PUBLIC_SHOPIFY_ACCESS_TOKEN=
  4. NEXT_PUBLIC_SHOPIFY_STORE_NAME=