Nuxt-i18n-contentful-starter
Example project to get startet with Vue/Nuxt and Contentful with multiple locales.
Using vue-i18n and fetching content from contentful.com.
Useful basics included
Sass/SCSS
easiely use it in components by setting <style lang="scss">
Pure CSS
extended version of Pure CSS with visible- and hidden-classes.
Vue-js-modal
vue-js-modal as node module
Build Setup
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.
TODO:
- contentful environments / set env in netlify https://www.contentful.com/developers/docs/concepts/multiple-environments/ https://github.com/stefanjudis/stefan-judis-website/blob/master/plugins/contentful.js