Skip to content

devmnj/prismic-nuxt-complete-blog

Repository files navigation

Awesome Nuxt Prismic Blog

Table of Contents

About

A blog using Prismic CMS and Nuxtjs, ideal for content managers

Prerequisites

  • Vue
  • Nuxt
  • Nodejs

Using the project

For using the Nuxt project need to configure the following.

Prismic Repository

Go to Prismic CMS and start a repository create relevent types and docs used in the project. Setup the env

Setup .env file

The .env file hold the secrets and API end points. Create .env file at the root of the project with following

prismicEP =https://REPO_NAME.cdn.prismic.io/api/v2
GID= GOOGLE ANALYTIC_MEASUREMENT_ID
sitemap_host=DOMAIN
DISQ=DISQUS_SHORT_HAND

Replace the CAPITALIZED variables with real values

Install dependencies

Install project dependencies using npm/yarn pacakge manager

npm install 

Run the Project

Ready to run the project, using yarn dev