JSPM

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

i18n for Nuxt

Package Exports

  • nuxt-i18n
  • nuxt-i18n/src/helpers/utils

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 features for your Nuxt project

Documentation | Release notes

Known Vulnerabilities

Development

  • Fork the project and clone it in your existing Nuxt project:
cd my-nuxt-project/
mkdir modules/
git clone git@github.com:<username>/nuxt-i18n.git modules/nuxt-i18n
  • Edit your Nuxt config to use the local module:
// nuxt.config.js

{
  modules: [
    ['./modules/nuxt-i18n', {
      // options...
    }]
  ]
}
  • Install the module's dependencies
cd modules/nuxt-i18n/
yarn
  • Code, code, code!
  • Run ESLint & Jest
yarn lint && yarn test
  • Submit awesome PRs

Contribute to the documentation

  • Fork and clone the project
git clone git@github.com:<username>/nuxt-i18n.git
  • Install the dependencies
cd nuxt-i18n/
yarn
  • Start the docs server
yarn docs:dev
  • Write some doc by editing files in docs/ directory, if you're adding new pages, make sure you add them to the table of contents in docs/.vuepress/config

  • Once you're done, submit that shiny PR!

Issues, questions & requests

Please use CMTY for any question you might have.

License

MIT License - Copyright (c) Nuxt Community