1
2
3
4
5
6
7
8
9
10
11
yarn 安装
yarn create react-app name
npm
npm create-react-app name [--tempalte typescript redux](可选)

vite 安装react
npm create vite@latest
yarn create vite

npm create vite@latest my_vue-app --tempalte react
yarn create vite my-vue-app --template react