Package Exports
- nuxt-i18n
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nuxt-i18n) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nuxt-i18n
i18n for Nuxt
Features
- vue-i18n integration
- Automatic routes generation prefixed with locales code
- SEO tags generation
- Translations messages lazy-loading
- Redirection based on browser language
- Different domain names for each language
Install
- Add
nuxt-i18n
dependency using yarn or npm to your project
yarn add nuxt-i18n
# npm i nuxt-i18n -S
- Add
nuxt-i18n
tomodules
section ofnuxt.config.js
{
modules: [
['nuxt-i18n', { /* module options */ }],
]
}
License
Copyright (c) Paul Gascou-Vaillancourt (@paulgv)