Your plugin description...
yarn add vue-plugin
# or
npm i vue-plugin --save
import VuePlugin from 'vue-plugin'
Vue.use(VuePlugin)
new Vue({
// your vue config
myPluginSettings: new VuePlugin(),
})
<template>
<vue-plugin />
</template>
<script>
export default {
async created() {
console.log(this.$myPlugin);
},
};
</script>
MIT