kanson-vue2-library

0.2.5 • Public • Published

kanson-ui 组件库

快速开始

1. 安装组件库

npm i kanson-vue2-library

2. 引用组件库

// 公司组件库不能泄露,搭建私人组件库面试用,后续会陆续更新
// 你需要添加声明文件index.d.ts,并写入declare module "kanson-vue2-library"
// 全部引入
import 'kanson-vue2-library/dist/css/index.css';
import KUI from 'kanson-vue2-library'
Vue.use(KUI)

// 按需引入
import 'kanson-vue2-library/dist/css/identitycard.css';
import IdentityCard from 'kanson-vue2-library'
Vue.use(IdentityCard)

Package Sidebar

Install

npm i kanson-vue2-library

Weekly Downloads

0

Version

0.2.5

License

none

Unpacked Size

135 kB

Total Files

19

Last publish

Collaborators

  • kanson