Skip to content

yp910108/y-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

y-components

说明

基于 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)
})

Releases

No releases published

Packages

No packages published