JSPM

  • Created
  • Published
  • Downloads 46135
  • Score
    100M100P100Q37333F
  • License MIT

i18n for Nuxt

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

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

i18n for Nuxt

📖 Release Notes

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 to modules section of nuxt.config.js
{
  modules: [
    ['nuxt-i18n', { /* module options */ }],
 ]
}

📖 Read Documentation

License

MIT License

Copyright (c) Paul Gascou-Vaillancourt (@paulgv)