[英]About the ways that install Create React App project with TypeScript
A book I got a year ago said...我一年前买的一本书说...
npx create-react-app XXX --typescript
Current CRA Docs is saying...当前的 CRA 文档说...
npx create-react-app XXX --template typescript
Each result seemed the same.每个结果似乎都一样。 Something different or the former is just shortened way?
不同的东西或前者只是缩短的方式?
Thank you for your help:)谢谢您的帮助:)
--typescript
option has been deprecated. --typescript
选项已被弃用。 So use the --template
所以使用
--template
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.