nuxt-uid-module
v0.2.0
Published
Unique ID for Vue.js component with Nuxt.js.
Downloads
588
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
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.