Socket
Book a DemoInstallSign in
Socket

nuxt-i18n-default

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-i18n-default

Add $td() method to specify default value

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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

Keywords

vue

FAQs

Package last updated on 25 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts