Skip to content

Latest commit

 

History

History
97 lines (71 loc) · 2.88 KB

README.md

File metadata and controls

97 lines (71 loc) · 2.88 KB

Nuxt i18n Netlify CMS Module

Hits npm version npm downloads Github Actions CI Codecov License

Create admin panel to manage i18n content using Netlify CMS

📖 Release Notes

Setup

  1. Add @robomx/nuxt-i18n-netlify-cms dependency to your project
yarn add @robomx/nuxt-i18n-netlify-cms # or npm install @robomx/nuxt-i18n-netlify-cms
  1. Add @robomx/nuxt-i18n-netlify-cms to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@robomx/nuxt-i18n-netlify-cms',

    // With options
    ['@robomx/nuxt-i18n-netlify-cms', { /* module options */ }]
  ]
}

Module Options

...
  i18n: {
    ...
    netlifyCms: {
      proxy: true,
      route: "i18n",
      config: {
        title: "i18n Content Management",
        publish_mode: "editorial_workflow",
        media_folder: "static/i18n/images",
        public_folder: "/i18n/images",
        open_authoring: true
      }
    }
    ...
  },
...

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

Screenshot

i18n content manage

References

License

MIT License

Copyright (c) RoboMx ask@robomx.tech