@tarojs/router 4.1.4 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ H5 端路由系统。
|
|
|
4
4
|
|
|
5
5
|
## 核心 API
|
|
6
6
|
|
|
7
|
-
### createRouter(app, config, type, framework,
|
|
7
|
+
### createRouter(app, config, type, framework, reactDOM)
|
|
8
8
|
|
|
9
9
|
暴露给 `@tarojs/taro-loader/h5` 调用,在应用入口文件中调用,创建一个兼容小程序路由规范的应用。
|
|
10
10
|
|
|
@@ -26,7 +26,6 @@ H5 端路由系统。
|
|
|
26
26
|
|
|
27
27
|
框架的 default import 对象。
|
|
28
28
|
|
|
29
|
-
### `
|
|
29
|
+
### `reactDOM`
|
|
30
30
|
|
|
31
31
|
可选,`react-dom` 的 default import 对象。
|
|
32
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/router",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Taro-router",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"universal-router": "^9.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tarojs/components": "4.1.
|
|
38
|
-
"@tarojs/runtime": "4.1.
|
|
39
|
-
"@tarojs/taro": "4.1.
|
|
40
|
-
"@tarojs/shared": "4.1.
|
|
37
|
+
"@tarojs/components": "4.1.5",
|
|
38
|
+
"@tarojs/runtime": "4.1.5",
|
|
39
|
+
"@tarojs/taro": "4.1.5",
|
|
40
|
+
"@tarojs/shared": "4.1.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@tarojs/
|
|
44
|
-
"@tarojs/
|
|
45
|
-
"@tarojs/
|
|
43
|
+
"@tarojs/runtime": "4.1.5",
|
|
44
|
+
"@tarojs/taro": "4.1.5",
|
|
45
|
+
"@tarojs/shared": "4.1.5"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"prod": "pnpm run build",
|