@globalbrain/nuxt-i18n
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

Global Brain: Nuxt I18N

Test License

Nuxt module for internationalization with localized routing.

This module's intention is not to provide a full-blown solution for internationalization like @nuxtjs/i18n, but offer a lean, effective and lightweight set of tools to cover the needs of common projects without the bloat of a full-blown solution.

Install

pnpm add -D @globalbrain/nuxt-i18n

Usage

export default defineNuxtConfig({
  modules: [
    '@globalbrain/nuxt-i18n'
  ],

  i18n: {
    defaultLocale: 'ja',
    locales: ['ja', 'en']
  }
})

Contribution

We are really excited that you are interested in contributing. Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.

Code style guide

Always remember to follow the "Golden Rule"…

Every line of code should appear to be written by a single person, no matter the number of contributors. — @mdo

Development

pnpm run lint

Lint files using ESLint.

pnpm run test

Run the test suite using Vitest.

License

This package is open-sourced software licensed under the MIT.

Readme

Keywords

Package Sidebar

Install

npm i @globalbrain/nuxt-i18n

Weekly Downloads

3

Version

1.2.2

License

MIT

Unpacked Size

18.5 kB

Total Files

16

Last publish

Collaborators

  • brc-dd
  • kiaking