yike-ui
v0.1.0
Published
### 快速开始
Downloads
5
Readme
yike-ui 组件库
快速开始
1. 安装组件库
npm install yike-ui
2. 引用组件库
// 全部引入
import 'yike-ui/dist/css/index.css';
import YUI from 'yike-ui';
Vue.use(YUI);
// 按需引入
import 'yike-ui/dist/css/demo.css';
import { Demo } from 'yike-ui';
Vue.use(Demo)
package.json
- discription 组件说明
- main 入口文件(别人也就是通过这个入口文件访问到组件库内容的)
- keywords 关键字 - 方便用户搜索
- author 作者
- files - 发布出去的目录
- files -> dist 打包好的umd文件
- files -> components 方便用户看源码