y components
1.0.0
Component library based on element-ui
# y-components 依赖于 element-ui,首先安装 element-ui
npm i [email protected] -S
npm i @yp910108/y-components -S
# 或
npm i [email protected] @yp910108/y-components -S
import Vue from 'vue'
import Element from 'element-ui'
import YComponents from '@yp910108/y-components'
import 'element-ui/lib/theme-chalk/index.css'
import '@yp910108/y-components/lib/theme/index.css'
import App from './App.vue'
Vue . use ( YComponents )
new Vue ( {
el : '#app' ,
render : ( h ) => h ( App )
} )