1 Star 4 Fork 4

wocwin/t-antd-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

T-antd-ui

此仓库已停止维护,请移步Vue3 基础组件传送门或者Vue2 基于Element-ui封装基础组件GitHub地址

Vue3 基础组件传送门

基于 Element-plus 二次封装基础组件地址

Vue2 基于Element-ui封装基础组件GitHub地址

基于 Element-ui 二次封装基础组件地址

介绍

基于 ant-design-vue 二次封装组件

这是我在学习 Vue 中ant-design-vue二次封装基础组件文档,希望对你有用。可查看 详细组件案例文档 预览

动态效果图

npm 方式安装使用

前提条件是:全局注册ant-design-vue组件库

// 先安装
npm i @wocwin/t-antd-ui
// 1、 在main.js中按下引入(全局使用)
import TAntdui from '@wocwin/t-antd-ui'
Vue.use(TAntdui)

// 2、按需引入,在单个vue文件如下引入,在注册;或者在main.js中如下引入在注册,皆可!
import { TAntdTable, TAntdForm, TAntdConditional } from '@wocwin/t-antd-ui'

直接在项目中全局使用

// 1、把packages文件夹复制,放在自己项目中
// 2、假设 packages 与 src是同级,那么src下 main.js 如下操作即可全局使用t-antd-ui
import TAntdui from '../packages'
Vue.use(TAntdui)

安装依赖

npm install

本地运行 src 中组件示例

npm run serve

本地运行 vuepress 中组件文档

npm run docs:dev

Git 提交规范

  • ci: ci 配置文件和脚本的变动;
  • chore: 构建系统或辅助工具的变动;
  • fix: 代码 BUG 修复;
  • feat: 新功能;
  • perf: 性能优化和提升;
  • refactor: 仅仅是代码变动,既不是修复 BUG 也不是引入新功能;
  • style: 代码格式调整,可能是空格、分号、缩进等等;
  • docs: 文档变动;
  • test: 补充缺失的测试用例或者修正现有的测试用例;
  • revert: 回滚操作;
MIT License Copyright (c) 2023 wocwin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于 ant-design-vue 二次封装基础组件文档 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wocwin/t-antd-ui.git
git@gitee.com:wocwin/t-antd-ui.git
wocwin
t-antd-ui
t-antd-ui
master

搜索帮助

Cb406eda 1850385 E526c682 1850385