0.1.1 • Published 8 years ago

hdp-vue-components v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

vue custom components for some Management System

Demo

script tag demo

npm install demo

Usage

<script src="hdp-vue-components.js"></script>
Vue.use(hdpVueComponents.components);

Or

npm install hdp-vue-components
import Vue from 'vue';
import hdpVueComponents from 'hdp-vue-components';
Vue.use(hdpVueComponents.components);

then

<hdp-alert :show.sync="showAlert" class-name="am-modal-sm" :msg="alertMsg" @alert.ok="clickAlertOK"></hdp-alert>
<hdp-ta-text :input-data.sync="textInput2" :config="textConfig"></hdp-ta-text><span>{{textInput2}}</span>

component objects can be invoked through hdpVueComponents as well,you can extend them as you wish. just see ./src/main.js

develop

npm run dev