.. | ||
Prismic Template | ||
public | ||
src | ||
.env.example | ||
.gitignore | ||
.npmrc | ||
.stackblitzrc | ||
astro.config.mjs | ||
package.json | ||
README.md | ||
sandbox.config.json | ||
tsconfig.json |
Astro With Prismic CMS
npm init astro -- --template cms-prismic
This example showcases Astro working with Prismic.
This example is depending on the Prismic custom type setup.
Before running the dev server (npm start
/npm run dev
) follow the setup steps below.
Setup Steps:
- Set up prismic custom types and pages.
Please refer to the custom type example in the
Prismic Template
folder. - Create a
.env
file following the.env.example
file.