tsrntemp 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -8,14 +8,14 @@ npx react-native init ProjectName --template tsrntemp
8
8
 
9
9
  - 文件目录
10
10
  - src
11
- - assets`静态资源文件夹`
12
- - components`公用组件文件夹`
13
- - config`配置文件夹`
14
- - iconfont`图标字体文件夹`
15
- - pages`所有页面文件夹`
16
- - route`路由页面文件夹`
17
- - types`类型申明文件夹`
18
- - utils`工具类文件夹`
11
+ - src/assets`静态资源文件夹`
12
+ - src/components`公用组件文件夹`
13
+ - src/config`配置文件夹`
14
+ - src/iconfont`图标字体文件夹`
15
+ - src/pages`所有页面文件夹`
16
+ - src/route`路由页面文件夹`
17
+ - src/types`类型申明文件夹`
18
+ - src/utils`工具类文件夹`
19
19
 
20
20
 
21
21
  ##### 新增路由须配置两个地方
@@ -50,4 +50,8 @@ const RouteArr: Array<RouteType> = [
50
50
  - 使用的请求库为umi-reuest
51
51
  - [具体使用参照](https://www.npmjs.com/package/umi-request)
52
52
 
53
+ ##### 适配
54
+ - 使用的react-native-size-matters
55
+ - [具体使用参照](https://www.npmjs.com/package/react-native-size-matters)
56
+
53
57
  *路由已处理ios/android手势,页面跳转动画等统一性*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsrntemp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Clean and minimalist React Native template for a quick start with TypeScript.",
5
5
  "scripts": {
6
6
  "test": "exit 0"
@@ -1,4 +1,4 @@
1
- #Mon Apr 18 16:40:54 CST 2022
1
+ #Mon Apr 18 17:40:53 CST 2022
2
2
  D\:\\workspace\\RN\\tsrntemp\\android\\app\\src\\main\\res\\mipmap-xxhdpi\\ic_launcher_round.png=D\:\\workspace\\RN\\tsrntemp\\android\\app\\build\\intermediates\\res\\merged\\debug\\mipmap-xxhdpi_ic_launcher_round.png.flat
3
3
  D\:\\workspace\\RN\\tsrntemp\\android\\app\\src\\main\\res\\mipmap-xxhdpi\\ic_launcher.png=D\:\\workspace\\RN\\tsrntemp\\android\\app\\build\\intermediates\\res\\merged\\debug\\mipmap-xxhdpi_ic_launcher.png.flat
4
4
  D\:\\workspace\\RN\\tsrntemp\\android\\app\\src\\main\\res\\mipmap-mdpi\\ic_launcher_round.png=D\:\\workspace\\RN\\tsrntemp\\android\\app\\build\\intermediates\\res\\merged\\debug\\mipmap-mdpi_ic_launcher_round.png.flat
@@ -1,4 +1,4 @@
1
- #Mon Apr 18 16:43:06 CST 2022
1
+ #Mon Apr 18 17:42:55 CST 2022
2
2
  path.3=14/classes.dex
3
3
  path.2=0/classes.dex
4
4
  path.1=0/classes.dex
@@ -13,7 +13,7 @@ public class MainActivity extends ReactActivity {
13
13
  protected String getMainComponentName() {
14
14
  return "tsrntemp";
15
15
  }
16
-
16
+
17
17
  @Override
18
18
  protected void onCreate(Bundle savedInstanceState) {
19
19
  super.onCreate(null);