astro/examples/cms-prismic
2021-12-22 10:52:24 -05:00
..
Prismic Template added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
public added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
src added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
.env.example added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
.gitignore added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
.npmrc added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
.stackblitzrc added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
astro.config.mjs added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
package.json added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
README.md added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
sandbox.config.json added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00
tsconfig.json added prismic x astro example. (#2247) 2021-12-22 10:52:24 -05:00

Astro With Prismic CMS

npm init astro -- --template cms-prismic

Open in StackBlitz

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.