A starter-kit for TDesign Vue Next UI components
Go to file
wū yāng f122189e0e
Chore/sync main to site (#664)
* fix: setting radio height

* build(deps): bump tdesign-vue-next from 0.20.2 to 0.20.3 (#283)

Bumps [tdesign-vue-next](https://github.com/Tencent/tdesign-vue-next) from 0.20.2 to 0.20.3.
- [Release notes](https://github.com/Tencent/tdesign-vue-next/releases)
- [Changelog](https://github.com/Tencent/tdesign-vue-next/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/Tencent/tdesign-vue-next/compare/0.20.2...0.20.3)

---
updated-dependencies:
- dependency-name: tdesign-vue-next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: loginRedirect add redirect (#287)

Co-authored-by: Setli <set_li@163.com>

* fix: tab-router refresh fail (#289)

* fix: 修复持久化的问题 (#316)

* fix: 修正首次进入页面时由于userStore数据还未初始化导致的白屏的问题

* Update user.ts

fix: 优化逻辑

* fix: 修复路径重复拼接的问题 (#319)

* feat: upgrade tdesign to 0.23 (#322)

* feat: add backend dynamic router permission code (#394) (#397)

* chore: 大致雏形

* feat: complete permission code

* feat: 修复渲染问题并完善权限代码

* chore: release 0.7.0

* chore: 更新依赖

* chore: fix echarts version

* feat: upgrade dependencies

* chore: mock route map

* chore: hash router

* chore: concat fixed routers

* chore: fix dependencies

* feat: optimize

* chore: remove roles from get menu process

* chore: remain fe permssion code

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>

Co-authored-by: 悠静萝莉 <i@mikuhl.cn>

* chore: sync main for develop (#549)

* feat: upgrade vite4 (#533)

* chore: 升级vite4

* docs: 项目简介 修改

* fix: 打包后预览提示TypeError

* chore: @vitejs/plugin-vue,@vitejs/plugin-vue-jsx升级

* docs: 项目简介 修改

* fix: 204无内容直接返回判断 (#539)

* feat(axios util): support params stringify (#544)

* fix(permission store): clear routes when logout (#545)

fix #541

* chore: release 0.7.7 (#548)

* chore: release 0.7.7

* chore: dump tdesign version

---------

Co-authored-by: liweijie0812 <674416404@qq.com>
Co-authored-by: ngyyuusora <jiliangsoft@live.com>

* chore: update version (#616)

* fix: echarts resize error (#622)

* fix: mock menu (#630)

* fix(i18n): pages.result.fail.modify中文未定义 (#632)

* fix(i18n): 修复用户中心词条不生效的问题 (#634)

* fix: 修复husky可能找不到npx命令的问题 (#635)

* fix(i18n): 修复用户中心词条不生效的问题 (#634) (#636)

* feat: 升级依赖到最新版本 (#637)

* feat: 升级依赖到最新版本

* fix(style): 使用新版格式修复文件

* fix(style): eslint自动格式化

* feat(hook): 替换窗口大小变化监听器 (#638)

* feat(hook): 替换窗口大小变化监听器

* feat(state): 替换响应式数据监听器

* feat(clipboard): 移除无用依赖,替换剪贴方法

* fix: 补上遗漏的逗号

* fix: 移除重复出现的依赖项

* feat: use $t (#640)

* fix: ts error (#652)

* fix: 修复循环过深的问题 (#650)

* fix: 修复循环过深的问题

* fix: 修复依赖更新导致的类型错误

* chore: fix type (#653)

* chore: fix type

* chore: remove console

* fix: hotfix useRoute bug after vue 3.4 release (#660)

* chore: sync main to site

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Setli <darkgame@163.com>
Co-authored-by: Setli <set_li@163.com>
Co-authored-by: PDieE <23275429@qq.com>
Co-authored-by: 悠静萝莉 <i@mikuhl.cn>
Co-authored-by: liweijie0812 <674416404@qq.com>
Co-authored-by: ngyyuusora <jiliangsoft@live.com>
Co-authored-by: Cosmos <cosmosliu@foxmail.com>
Co-authored-by: PY <pengyue970715@gmail.com>
2024-01-10 17:39:38 +08:00
.github feat: trigger action on site branch (#493) 2023-05-10 19:52:57 +08:00
.husky chore: sync fix to site (#654) 2023-12-06 11:35:12 +08:00
.vscode chore: sync develop branch to site branch (#513) 2023-05-18 18:11:27 +08:00
docs docs: readme img update 2021-12-16 12:24:51 +08:00
mock chore: sync fix to site (#654) 2023-12-06 11:35:12 +08:00
public feat: rename 2021-11-15 19:09:09 +08:00
src Chore/sync main to site (#664) 2024-01-10 17:39:38 +08:00
.editorconfig develop (merge request !2) 2021-08-26 03:27:48 +00:00
.env perf: 接口配置硬编码调整到环境变量 (#445) 2023-03-15 15:34:36 +08:00
.env.development perf: 接口配置硬编码调整到环境变量 (#445) 2023-03-15 15:34:36 +08:00
.env.site perf: 接口配置硬编码调整到环境变量 (#445) 2023-03-15 15:34:36 +08:00
.env.test perf: 接口配置硬编码调整到环境变量 (#445) 2023-03-15 15:34:36 +08:00
.eslintignore chore: prettier igonre update 2021-12-20 10:44:35 +08:00
.eslintrc revert: lint change (#578) 2023-07-29 17:38:03 +08:00
.gitattributes chore: sync develop branch to site branch (#513) 2023-05-18 18:11:27 +08:00
.gitignore chore: sync fix to site (#654) 2023-12-06 11:35:12 +08:00
.npmrc feat(support pnpm): add to. Npmrc file to solve the problem of pnpm dependency 2022-04-11 12:16:53 +08:00
.prettierrc.js chore: prettier igonre update 2021-12-20 10:44:35 +08:00
.stylelintignore feat: upgrade the third phase of the component 2021-10-18 17:04:47 +08:00
commitlint.config.js feat: 将现有代码迁移至TS严格模式 - 禁止any类型 (#519) 2023-05-24 10:40:06 +08:00
index.html chore: add site-component stats 2023-06-07 17:57:37 +08:00
LICENSE fix: slidenav and result icon fix 2021-12-15 21:09:28 +08:00
package.json Chore/sync main to site (#664) 2024-01-10 17:39:38 +08:00
README-zh_CN.md feat: upgrade vite4 (#533) 2023-06-01 14:12:23 +08:00
README.md feat: upgrade vite4 (#533) 2023-06-01 14:12:23 +08:00
stylelint.config.js chore: sync fix to site (#654) 2023-12-06 11:35:12 +08:00
tsconfig.json feat: 将现有代码迁移至TS严格模式 - 禁止any类型 (#519) 2023-05-24 10:40:06 +08:00
vite.config.ts fix: import/order (#579) 2023-08-02 13:49:56 +08:00

TDesign Logo

node compatility License

English | 简体中文

Introduction

TDesign Vue Next Starter is a TDesign-based developed with Vue 3, Vite, Pinia, TypeScript. It can be customized theme configuration, and aims to provide project out-of-the-box, configuration-style middle and background projects.

Live Preview · Documentation

Features

  • Various provided pages for develop
  • Complete directory structure for develop
  • Code specification configuration
  • Support dark mode
  • Custom theme colors
  • Various space layouts
  • Mock data scheme

Usage

Initialize project with our CLI tool tdesign-starter-cli

## install tdesign-starter-cli
npm i tdesign-starter-cli@latest -g

## create project
td-starter init

Develop

## install dependencies
npm install

## set up
npm run dev

Build

## build
npm run build

## build for test
npm run build:test

Contributing Guide

We welcome contributions to our project. Create your Issue or Submit your Pull Request.

Commit Specification

Browser Support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge >=84 Firefox >=83 Chrome >=84 Safari >=14.1

Community Versions

There are kinds of community versions of starter-kit based on TDesign Vue Next, visit community-link for more detail. If you developed a community versions of tdesign starter, please create a issue or submit a pull request to let us know 😊.

License

The MIT License. Please see the license file for more information.