Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 452 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 452 Bytes

Jasmo2 Gridsome-Typecript-Prismic starter

Template for Gridsome Typecript and as CMS Prismic.

Run update refs for multiple environments in Prismic

  1. Create a release in Prismic
  2. Look at the code, and update as corresponding:
.then((refs) => ({
    staging: refs[1].ref,
    production: refs[0].ref,
  }))
  1. set the environment variable PRISMIC_API_REF='' inside the hidden-file(.gitignore) .env
  2. run yarn update-refs