astro/examples/cms-prismic
2021-12-23 08:25:26 -05:00
..
Prismic Template Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
public Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
src Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
.env.example Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
.gitignore Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
.npmrc Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
.stackblitzrc Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
astro.config.mjs Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
package.json Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
README.md Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
sandbox.config.json Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -05:00
tsconfig.json Revert "Revert "added prismic x astro example. (#2247)"" (#2252) 2021-12-23 08:25:26 -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.