@axolo/leovue

LeoVue components lib

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Aug 26, 2018Aug 17, 2018Minified + gzip package size for @axolo/leovue in KB

Readme

LeoVue

LeoVue is a Vue.js component library written by Leo.

Install

npm install @axolo/leovue --save

Import

<template>
  <div>
    <leo-dialog :visible="visible" :title="title" @close="close">
      <div class="main">{{content}}</div>
    </leo-dialog>
    <button @click="open">Dialog</button>
  </div>
</template>

<script>
import { LeoDialog } from '@axolo/leovue'
export default {
  components: { LeoDialog },
  data() { return {
    title: 'Hello',
    content: 'LeoVue',
    visible: false
  }},
  methods: {
    open()  { this.visible = true  },
    close() { this.visible = false }
  }
}
</script>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.