This is a very simplistic example which shows how to configure the Prismic Javascript library to fetch some data.
# Install the dependencies
npm install
# Start the development server
npm run start
# Build for production
npm run build
# Test a production build locally
npm run serve
This example includes tweaks to use react-static to with prismic headless CMS. It includes:
- Babel
- CSS imports
- Image imports
- File imports
- Automatic Routing
- Fetcing Data from Prismic