myvue-component

0.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i myvue-component

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • cimenx