Awesome Open Source
Awesome Open Source

prismic-nuxt

License

A simple boilerplate using @prismicio & @nuxt

This Nuxt.js & Prismic.io boilerplate contains all the features and scripts you need to start developing websites using Nuxt.js and the Headless CMS Prismic.io.

Getting Started

Nuxt Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For a detailed explanation on how things work, checkout Nuxt.js docs.

API Endpoint

In the ./nuxt.config.js file you need to fill in your API Endpoint.

/*
** Prismic configuration
*/
prismic: {
  endpoint: 'https://your-prismic-endpoint.cdn.prismic.io/api/v2',
  ...
},

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,161,026
Nuxt (4,379
Nuxtjs (4,379
Headless Cms (546
Nuxt Template (59