Awesome
<p style="display:flex; justify-content: center"> </p> <p align="center"> <a href="https://tdesign.tencent.com/starter/react/#/dashboard/base" target="_blank"> <img alt="TDesign Logo" width="200" src="https://tdesign.gtimg.com/starter/brand-logo.svg"> </a> </p> <p align="center"> <a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/vite.svg" alt="node compatibility"></a> <a href="https://github.com/Tencent/tdesign-react/blob/develop/LICENSE"> <img src="https://img.shields.io/npm/l/tdesign-react.svg?sanitize=true" alt="License"> </a> </p>English | 简体中文
Introduction
TDesign React Starter is a TDesign-based project developed with React
, Vite
. 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.
Pull Request
- Fork it!
- Create your branch:
git checkout -b feat/xxxx
- Commit:
git commit -a 'feat(project): describe'
- Push:
git push origin feat/xxxx
- New Pull Request
pull request
Commit Specification
Compatibility
License
The MIT License. Please see the license file for more information.