nuxt-i18n-default
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

nuxt-i18n-default

NPM Package Minified Size License: MIT

Add $td() method to specify default value

Install

NPM

npm install nuxt-i18n-default

Register Nuxt module

// nuxt-config.js
module.exports = {
    modules: [
        'nuxt-i18n-default',
        ['@nuxtjs/i18n', {
            // options
        }],
    ],
};

Usage

{{ $td('My default text', 'message.hello') }}

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i nuxt-i18n-default

Weekly Downloads

17

Version

0.1.1

License

MIT

Unpacked Size

6.78 kB

Total Files

11

Last publish

Collaborators

  • shrpne