Unique ID for Vue.js component.
npm install vue-uid

Unique ID for Vue.js component.
``bash`
$ yarn add vue-uid
Plugin all components have uid.
Components with mixin have uid.
Other components don't have uid.
Install plugin
`JavaScript`
import Vue from 'vue';
import VueUid from 'vue-uid';
Vue.use(VueUid);
Use with component
`HTML
" />
or
`
Use with component
`HTML
" />
`
- type: String$_uid
- default:
Change property name.
e.g.
`JavaScript
import Vue from 'vue';
import VueUid from 'vue-uid';
Vue.use(VueUid, {
name: 'uid',
});
`
when
`HTML
" />
or