详细说明见仓库
Github仓库:https://github.com/mumu-pika/TypeScript-React-Starter
起步
💡 Tips:可通过 markdown 语法(
+ `code` ++空格)或者快捷键ctrl/cmd+E快速插入行内代码。
在文本中使用行内代码,可以顺畅地显示代码变量名。
npm install -g create-react-app
创建我们的新项目
create-react-app my-app --scripts-version=react-scripts-ts
my-app/├─ .gitignore├─ images.d.ts├─ node_modules/├─ public/├─ src/│ └─ ...├─ package.json├─ tsconfig.json├─ tsconfig.prod.json├─ tsconfig.test.json└─ tslint.json
