0.1.1 • Published 6 years ago
myvue-component v0.1.1
myvue-component
A Vue.js project
Usage
<myvue-component hello="Hello world!!!" @click="clicked">
</myvue-component>
methods: {
clicked (helloText) {
console.log(helloText)
}
}
Props
Prop name | Description | Type | Required | Default value |
---|---|---|---|---|
hello | set hello text | String | no | '' |
Events
Event name | Description | Parameters |
---|---|---|
click | fire when hello text is clicked | helloText: String |
Slots
Slot name | Description | Accepted Element |
---|---|---|
default | slot without name are placed in default | any |
Contributing
See CONTRIBUTING.md for development guide.
This component was generated with vue-authoring-template using vue-cli.
0.1.1
6 years ago