Create-react-app 4.0.0 搭建 typescript
create-react-app 脚手架4.0.0之后搭建typescript//4.0使用以下命令创建npx create-react-app my-app --template typescriptoryarn create react-app my-app --template typescript//4.0之前npx create-react-app my-app --typescript搭建好之后使用://运行一下项目yarn start 出现.tsx后缀则成功.pac
原创
2020-11-06 18:55:50 ·
798 阅读 ·
0 评论