@djkloop/chaos-ui
v0.1.4-alpha.1
Published
学习如何构建一个ui库
Downloads
2
Readme
chaos-ui
Install
yarn add @djkloop/chaos-ui
# or npm install @djkloop/chaos-ui --save
Use
import ChaosUI from '@djkloop/chaos-ui';
import '@dkloop/chaos-ui/lib/chaos-ui.css';
Vue.use(ChaosUI);
// example.vue
/* test ca-row component */
<ca-row>
/* test ca-col component */
<ca-col :xs="2" :sm="4" :md="6" :lg="8" :xl="10">我是测试代码</ca-col>
/* test button component */
<ca-button></ca-button>
</ca-row>
构建一个ui库的过程
1. 用md构建文档
md -> 编译文档部分(实现原理)
https://blog.csdn.net/m0_37972557/article/details/81089887#commentBox