5irich-test
5irich-ui-plus
基于 Elemen5irich-ui 二次封装基础组件地址
介绍
基于 vue3+ ts+ Element-plus 二次封装组件
这是我在学习 Vue3 中基于Element-plus 二次封装基础组件文档,希望对你有用。可查看 详细组件案例文档 预览
npm 方式安装使用
npm i 5irich-ui-plus
全局注册使用
// 在main.js中按下引入
import RuiPlus from '5irich-ui-plus'
import '5irich-ui-plus/lib/style.css'
Vue.use(RuiPlus)
按需引入
// 在main.js中按下引入
import '5irich-ui-plus/lib/style.css'
// 单个.vue文件引入
<script setup lang="ts">
import {TTable, TPage} from "5irich-ui-plus"
</script>
Volar 组件类型提示(1.1.8版本支持)
// 需要在使用的项目的tsconfig.json文件中添加以下
compilerOptions:{
"types": [
"5irich-ui-plus/lib/components.d.ts"
],
}
安装依赖
pnpm install
本地运行 vitepress 中组件文档
// docs项目(文档demo示例)基于vue3+vite项目
npm run docs:dev
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.39 | 3.2.44 | ISC | |
| 0.1.38 | 3.2.44 | ISC | |
| 0.1.37 | 3.2.44 | ISC | |
| 0.1.36 | 3.2.44 | ISC | |
| 0.1.35 | 3.2.44 | ISC | |
| 0.1.34 | 3.2.44 | ISC | |
| 0.1.33 | 3.2.44 | ISC | |
| 0.1.32 | ^3.2.47 | ||
| 0.1.31 | ^3.2.47 | ||
| 0.1.29 | ^3.2.47 | ||
| 0.1.28 | ^3.2.47 | ||
| 0.1.27 | ^3.2.47 | ||
| 0.1.26 | ^3.2.47 | ||
| 0.1.25 | ^3.2.47 | ||
| 0.1.24 | ^3.2.47 | ||
| 0.1.23 | ^3.2.47 | ||
| 0.1.22 | ^3.2.47 | ||
| 0.1.21 | ^3.2.47 | ||
| 0.1.20 | ^3.2.47 | ||
| 0.1.19 | ^3.2.47 | ||
| 0.1.18 | ^3.2.47 | ||
| 0.1.17 | ^3.2.47 | ||
| 0.1.16 | ^3.2.47 | ||
| 0.1.15 | ^3.2.47 | ||
| 0.1.14 | ^3.2.47 | ||
| 0.1.13 | ^3.2.47 | ||
| 0.1.12 | ^3.2.47 | ||
| 0.1.11 | ^3.2.47 | ||
| 0.1.10 | ^3.2.47 | ||
| 0.1.9 | ^3.2.13 |
Showing the latest 30 of 39. See every release on npm