<vue-template-plugin>
A template for create a Vue Plugin with Rollup
Install/Usage
# Install with npm $ npm i -S vue-template-plugin # or yarn $ yarn add vue-template-plugin
You can use Local Registration:
; el: '#app' { return message: 'Hello World' ; } components: HelloWorld ;
or Global Registration:
;Vue; // or with a custom component name;Vue;
Usage in browser
In browser you can use Unpkg, Jsdelivr, CDN.js, etc.
# Unpkg https://unpkg.com/vue-template-plugin@latest/dist/vue-template-plugin.js # JSDelivr https://cdn.jsdelivr.net/npm/vue-template-plugin@latest/dist/vue-template-plugin.min.js
Documentation
Props
Name | Description | Type | Required |
---|---|---|---|
message | The message property that will be displayed | String | false |
Community
All feedback and suggestions are welcome!
License
This is a open-source software licensed under the MIT license