Skip to content

初始化react with ts

各种脚手架的使用:

1、create- react- app

npx create-react-app my-app --template typescript

需要ts要在后面进行另外编写

2、next.js

npx create-next-app@latest

架设过程可以选择语言和插件

3、Vite

npm create vite@latest

架设过程可以选择框架,js语言,插件

基于 MIT 许可发布