This branch is for Vue.js 2.x.
Using npm:
npm install lanlan-ui --save
Install for global use:
import 'lanlan-ui/dist/lanlanui.css'
import lanlanui from 'lanlan-ui'
import Vue from 'vue'
Vue.use(lanlanui)
Install for local use:
import 'lanlan-ui/dist/lanlanui.css'
import { lanButton } from 'lanlan-ui'
import Vue from 'vue'
new Vue({
el: '#app',
components: {
lanButton
}
})
<template>
<lan-input v-model="value" />
</template>
<script>
export default {
data () {
return {
value: ''
}
}
}
</script>