/nuxt-contentful-i18n-boilerplate

Starting point for Nuxt2 with contentful & multiple locales

Primary LanguageVue

[Not maintained anymore] Starting point for Nuxt2 with contentful & multiple locales

i18n Documentation:

Contentful:

To get startet, create a contentful space and a content type (Here: "blogPost" with the field "title"). Then Setup your contentful space and access token in Contentful.vue

Build Setup

# install dependencies
$ yarn install

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

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

# generate static project
$ yarn run generate

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