i18n features for your Nuxt project
- Fork the project and clone it in your existing Nuxt project:
cd my-nuxt-project/
mkdir modules/
git clone https://github.com/<username>/nuxt-i18n.git modules/nuxt-i18n
# or
git clone [email protected]:<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
- Fork and clone the project
git clone [email protected]:<username>/nuxt-i18n.git
# or
git clone https://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 indocs/.vuepress/config
-
Once you're done, submit that shiny PR!
Please use CMTY for any question you might have.
MIT License - Copyright (c) Nuxt Community