mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 23:06:48 +08:00
A starter-kit for TDesign Vue Next UI components
b0148c563f
* perf: 路由守卫获取菜单异常,跳转登录页并弹窗提示 (#502) * perf: 规范不同系统中的结束符 (#505) * fix: eol * fix: 测试效果 * fix: 默认全部文件eol=lf * fix: 防止误判,仅对部分明确的文件设置 * fix: 新建文件eol格式错误进行互补 * Update settings.json * fix: 修复无法将通知设为未读 (#511) * fix: 修复 store 中并未对 localStorage 的 TOKEN_NAME 键进行赋值的缺陷 (#504) * fix: 接口请求不携带token * fix: 优化token持久化策略 * fix: 删除多余的log * chore: release 0.7.5 (#512) --------- Co-authored-by: liweijie0812 <674416404@qq.com> Co-authored-by: Gui.H <springhgui@outlook.com> Co-authored-by: You <i@izoyo.cn> |
||
---|---|---|
.github | ||
.husky | ||
.vscode | ||
docs | ||
mock | ||
public | ||
src | ||
.editorconfig | ||
.env | ||
.env.development | ||
.env.site | ||
.env.test | ||
.eslintignore | ||
.eslintrc | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
.prettierrc.js | ||
.stylelintignore | ||
commitlint.config.js | ||
index.html | ||
LICENSE | ||
package.json | ||
README-zh_CN.md | ||
README.md | ||
stylelint.config.js | ||
tsconfig.json | ||
vite.config.ts |
English | 简体中文
Introduction
TDesign Vue Next Starter is a TDesign-based developed with Vue 3
, Vite 3+
, Pinia
, TypeScript
. It can be customized theme configuration, and aims to provide project out-of-the-box, configuration-style middle and background projects.
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 |
Firefox |
Chrome |
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.