0.1.1 • Published 6 years ago

myvue-component v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

myvue-component

A Vue.js project

npm.io

Usage

<myvue-component hello="Hello world!!!" @click="clicked">
</myvue-component>
  methods: {
    clicked (helloText) {
      console.log(helloText)
    }
  }

Props

Prop nameDescriptionTypeRequiredDefault value
helloset hello textStringno''

Events

Event nameDescriptionParameters
clickfire when hello text is clickedhelloText: String

Slots

Slot nameDescriptionAccepted Element
defaultslot without name are placed in defaultany

Contributing

See CONTRIBUTING.md for development guide.


This component was generated with vue-authoring-template using vue-cli.