Vue Plugin Template is a library to inject ...
Useful for ...
Warning:
https://vue-plugin-template.stackblitz.io
You can see the demo code here
npm install vue-plugin-template --save
or
yarn add vue-plugin-template
You can add VuePluginTemplate inside main.js file or as a standalone plugin in your /plugins folder
import VuePluginTemplate from 'vue-plugin-template'
Vue.use(VuePluginTemplate)
// Or you can specify any other name
Vue.use(VuePluginTemplate, {
name: 'myName' // Then you can use like: this.$myName...
})
WARNING!
Method | Prop | Description | Type | Default |
---|---|---|---|---|
name | - | new tag in string format (required) | string |
- |
prop1 | description of prop1 | string |
'head' | |
prop2 | description of prop2 | boolean |
true |
MIT Licensed | Copyright © 2021-present srubio131