I18n module for Nuxt
The next i18n module for Nuxt 3
If you would like to use the stable version for Nuxt 2, please see the main branch
next tagdevDependencies with your package manager:# Using npm
npm install @nuxtjs/i18n@next --save-dev
# Using yarn
yarn add --dev @nuxtjs/i18n@next
# Using pnpm
pnpm install --shamefully-hoist -D @nuxtjs/i18n@next
@nuxtjs/i18n to the modules section of nuxt.config.ts{
modules: [
'@nuxtjs/i18n',
],
}
devDependencies in package.json:"@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge"
Run npm install or yarn or pnpm install --shamefully-hoist.
Add @nuxtjs/i18n to the modules section of nuxt.config.ts.
{
modules: [
'@nuxtjs/i18n',
],
}
Keep in mind that not all features are currently supported yet and some things might be broken.
#i18n channel)MIT License - Copyright © Nuxt Community