nuxt-uid-module

Unique ID for Vue.js component with Nuxt.js.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
nuxt-uid-module
0.2.05 years ago5 years agoMinified + gzip package size for nuxt-uid-module in KB

Readme

nuxt-uid-module
vue-uid for Nuxt.js.

Install

$ yarn add nuxt-uid-module

nuxt.config.js

module.exports = {
  // ...
  modules: [
    'nuxt-uid-module',
  ],
  // ...

  'uid-module': {
    name: 'uid' // property name(option)
    plugin: false,  // when to use vue-uid mixin(option)
  },
};

Usage

vue-uid Usage

Options

vue-uid options

See vue-uid Options.
  • name (option)

nuxt-uid-module options

plugin (option)

  • type: boolean
  • default: true

Set to false when using vue-uid mixin. If false, vue-uid plugins will not be registered.