zee-ui
v0.2.2
Published
基于 vue-cli4 的 UI 组件库
Downloads
2
Readme
zzui
全局引入
import ElementUI from 'element-ui';
console.log(ElementUI)
import zui from 'csdn-zui'
import 'csdn-zui/dist/csdn-zui.css'
Vue.use(zui)
<!-- <HotListScroll/> -->
按需引入 HotListScroll
import { HotListScroll } from csdn-zui
<HotListScroll :hotInfo="hotInfo" v-if="hotInfo.hot_list && hotInfo.hot_list.length"/>
// import {Hello} from 'csdn-zui'
// import Hello from 'csdn-zui'
// console.log(Hello)
export default {
name: 'Home',
components: {
// Hello,
// HotListScroll,
// HelloWorld
}
}