ai-t-ui
v1.0.1
Published
Vue 中基于Element-ui和ant-design-vue二次封装基础组件文档
Downloads
1
Maintainers
Readme
T-ui
Vue3 基础组件传送门
基于 Element-plus 二次封装基础组件地址
介绍
以 T 字开头是基于 Element-ui 二次封装组件
以 TAnt 开头是基于 ant-design-vue 二次封装组件
这是 Vue 中基于Element-ui 和ant-design-vue二次封装基础组件文档。可查看 详细组件案例文档 预览
动态效果图
npm 方式安装使用
// 先安装
npm i ai-t-ui
// 在main.js中按下引入
import Tui from 'ai-t-ui'
Vue.use(Tui)
直接在项目中全局使用(前提是已全局安装了 Element-ui 并已引入其样式)
// 1、把packages文件夹复制,放在自己项目中
// 2、假设 packages 与 src是同级,那么src下 main.js 如下操作即可全局使用t-ui
import Tui from '../packages'
Vue.use(Tui)
安装依赖 如果总报错就用 cnpm install
npm install
本地运行 src 中组件示例
npm run serve
本地运行 vuepress 中组件文档
npm run docs:dev