logo
1
0
WeChat Login

License Version Node Downloads

English | 简体中文

Please note that the Node version installed on your local machine needs to be >=16.

Install

npm install tdesign-starter-cli -g

Usage

Interactive Operation


# project initialization
td-starter init

# fill project name and description
? 请输入项目名称: [project-name]
? 请输入项目描述: Base on tdesign-starter-cli
...

cd [project-name]

# install dependencies
npm install
      
# run dev
npm run dev 

Command Operation


# project initialization
td-starter init [root]

cd [project-name]

# install dependencies
npm install

# run dev     
npm run dev 

Command Options

OptionDescription
-d, --description <description>description of a project (default: "Base on tdesign-starter-cli")
-type, --type <type>Code version vue2 | vue3 | react | miniProgram | mobileVue (default: "vue2")
-temp, --template <template>Project template type: lite | all (default: "lite")
-bt, --buildToolType <buildToolType>The construction tool for lite: vite | webpack (default: "vite")
-h, --helpdisplay help for command

Preview

Vite + React/Vue2/Vue3

Farm + React/Vue2/Vue3

Webpack + React/Vue2/Vue3

License

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

About

CLI tool for TDesign Starter kit

2.65 MiB
1 forks0 stars3 branches21 TagREADMEMIT license
Language
TypeScript53%
Markdown14.4%
SVG12.1%
Vue9.3%
Others11.2%