简体   繁体   中英

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...

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. So use the --template

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM