1.2.5 • Published 2 years ago
tsrntemp v1.2.5
:space_invader: React Native Template TypeScript
English | 简体中文
:arrow_forward: usage
npx react-native init ProjectName --template tsrntempReact Native <=> Template Version
| React Native | Template |
|---|---|
| 0.72 | 1.2.* |
| 0.71 | 1.1.* |
| 0.67 | 1.0.* |
The default of this project is TS building, integrated routing, caching, request tool and icon tool
- file directory
- src
- src/assets
Static resource folder - src/components
Public component folder - src/config
Configuration folder - src/iconfont
Icon font folder - src/pages
All of the page folders - src/route
Route the page folder - src/types
Type statement folder - src/utils
Tool Class Folders - src/requestUtils
Request tool base class
react-navigation
icont
- The configuration file for the icon is the iconfont.json file located in the root directory
- Use reference
requset
- The request library used is
umi-reuest - Use reference
storage
- The cache library used is
react-native-mmkvand is a library that returns data directly, unlike the promise thatasync-storageis returned - Use reference
size-matters
- Size adaptation
- Use reference
1.2.5
2 years ago
1.2.4
2 years ago
1.2.0
2 years ago
1.2.2
2 years ago
1.2.1
2 years ago
1.1.5
2 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago