Boilerplate for Nuxt + Contentful 2.0.0
# install dependencies
$ git clone
$ cd <folder>
$ npm install
This starterkit comes with the following
JavaScript SDK for the Contentful Content Delivery API and Content Preview API. It helps you to easily access your > Content stored in Contentful with your JavaScript applications. $ https://www.npmjs.com/package/contentful
Create a new .env file in your project root to set the enviros for your contentful space You could also go with key vaults, depends on clients security needs. $ CTF_SPACE_ID, CTF_CDA_ACCESS_TOKEN, CTF_CDA_ACCESS_TOKEN_PREVIEW_API
HTML renderer for the Contentful rich text field type. $ https://www.npmjs.com/package/@contentful/rich-text-html-renderer
Type definitions and constants for the Contentful rich text field type. $ https://www.npmjs.com/package/@contentful/rich-text-types
Http lib for all things apis end pointed etc. $ https://axios.nuxtjs.org/
Google Tag Manager Module for Nuxt.js $ https://github.com/nuxt-community/gtm-module
Helmet helps you secure your Nuxt apps by setting various HTTP headers. By default Helmet will set the X-DNS-Prefetch-Control, X-Frame-Options, Strict-Transport-Security, X-Download-Options, X-Content-Type-Options and X-XSS-Protection headers. Beside that this module will also set by default the X-Permitted-Cross-Domain-Policies header. $ https://www.npmjs.com/package/nuxt-helmet
Provide basic authentication to your Nuxt.js application $ https://www.npmjs.com/package/nuxt-basic-auth-module
This package is set with robots.txt to ingore all
$ npm run dev
$ npm run build $ npm run start
$ npm run generate
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).