Add UUID to Vue instance.
npm install vue-uuidAdd UUID to Vue instance.

Installation is very easy, you just need to install using NPM or Yarn.
``sh`
npm i vue-uuid
Vue's use method will do the trick adding to Vue.
`js
import { createApp } from "vue";
import withUUID from "vue-uuid";
const app = withUUID(
createApp({
// ...
}),
);
`
After installation $uuid is available on instance, so you can use inside
components template and script, like the example below.
`vue
{{ uuid }}
class="button"
@click="uuid = $uuid.v1()"
>Generate V1
class="button"
@click="uuid = $uuid.v3()"
>Generate V3
class="button"
@click="uuid = $uuid.v4()"
>Generate V4
class="button"
@click="uuid = $uuid.v5("Name 1", NAMESPACE)"
>Generate V5
``