i18n Documentation:
- nuxt-i18n: https://nuxt-community.github.io/nuxt-i18n/
- vue-i18n: http://kazupon.github.io/vue-i18n/installation.html
Contentful:
- https://www.contentful.com/
- https://www.contentful.com/blog/2018/01/23/how-to-write-reusable-sane-api-based-components/
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
# 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.