Create admin panel to manage i18n content using Netlify CMS
- 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
- Add
@robomx/nuxt-i18n-netlify-cms
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'@robomx/nuxt-i18n-netlify-cms',
// With options
['@robomx/nuxt-i18n-netlify-cms', { /* 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
}
}
...
},
...
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) RoboMx [email protected]