【文件属性】:
文件名称:typescript-react-template:所有项目的Typescript + React +样式化组件模板
文件大小:190KB
文件格式:ZIP
更新时间:2021-02-14 20:46:45
react sample template typescript eslint
打字稿React模板
Typescript中的React应用程序使用ESlint,Jest和样式化组件进行配置。
使用方法:
克隆模板存储库:
> git clone https://github.com/nnfunny/typescript-react-template.git
安装依赖项:
> yarn
or
> npm install
运行应用程序:
> yarn start
or
> npm start
生成应用程序:
> yarn build
or
> npm run build
请随时使用此模板并构建您的出色项目 :sparkles: 。
【文件预览】:
typescript-react-template-main
----public()
--------index.html(716B)
----yarn.lock(481KB)
----.eslintrc.js(895B)
----logo.svg(1006B)
----src()
--------index.tsx(226B)
--------decs.d.ts(163B)
--------styles()
--------components()
--------types()
--------assets()
--------App.tsx(526B)
--------hooks()
--------react-app-env.d.ts(40B)
----tsconfig.json(499B)
----jest.config.js(70B)
----README.md(624B)
----.gitignore(325B)
----package.json(1KB)