@hlw-uni/mp-cli 1.0.25 → 1.0.27
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/package.json +1 -1
- package/templates/mp-toutiao/base/package.json +3 -3
- package/templates/mp-toutiao/base/src/main.ts +1 -1
- package/templates/mp-toutiao/base/src/store/index.ts +2 -0
- package/templates/mp-weixin/base/package.json +3 -3
- package/templates/mp-weixin/base/src/main.ts +1 -1
- package/templates/mp-weixin/base/src/store/index.ts +2 -0
- /package/templates/mp-toutiao/base/src/{stores/app.ts → store/app/index.ts} +0 -0
- /package/templates/mp-toutiao/base/src/{stores/user.ts → store/user/index.ts} +0 -0
- /package/templates/mp-weixin/base/src/{stores/app.ts → store/app/index.ts} +0 -0
- /package/templates/mp-weixin/base/src/{stores/user.ts → store/user/index.ts} +0 -0
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@dcloudio/uni-app-plus": "3.0.0-4080420251103001",
|
|
12
12
|
"@dcloudio/uni-components": "3.0.0-4080420251103001",
|
|
13
13
|
"@dcloudio/uni-mp-toutiao": "3.0.0-4080420251103001",
|
|
14
|
-
"@hlw-uni/mp-core": "^1.0.
|
|
15
|
-
"@hlw-uni/mp-vue": "^1.0.
|
|
14
|
+
"@hlw-uni/mp-core": "^1.0.10",
|
|
15
|
+
"@hlw-uni/mp-vue": "^1.0.3",
|
|
16
16
|
"@vueuse/core": "^10.9.0",
|
|
17
17
|
"pinia": "^2.1.7",
|
|
18
18
|
"pinia-plugin-unistorage": "^1.2.3",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@dcloudio/types": "^3.4.8",
|
|
23
23
|
"@dcloudio/uni-cli-shared": "3.0.0-4080420251103001",
|
|
24
24
|
"@dcloudio/vite-plugin-uni": "3.0.0-4080420251103001",
|
|
25
|
-
"@hlw-uni/mp-vite-plugin": "^1.0.
|
|
25
|
+
"@hlw-uni/mp-vite-plugin": "^1.0.10",
|
|
26
26
|
"@unocss/transformer-directives": "^66.1.1",
|
|
27
27
|
"sass": "^1.70.0",
|
|
28
28
|
"typescript": "^4.9.4",
|
|
@@ -3,7 +3,7 @@ import { createPinia } from "pinia";
|
|
|
3
3
|
import { createUnistorage } from "pinia-plugin-unistorage";
|
|
4
4
|
import App from "./App.vue";
|
|
5
5
|
import { setupDefaultInterceptors, hlw, http } from "@hlw-uni/mp-core";
|
|
6
|
-
import { useUserStore } from "./
|
|
6
|
+
import { useUserStore } from "./store";
|
|
7
7
|
|
|
8
8
|
// 注册默认拦截器(Token + 业务错误 + 401)
|
|
9
9
|
setupDefaultInterceptors({
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"@dcloudio/uni-app-plus": "3.0.0-4080420251103001",
|
|
13
13
|
"@dcloudio/uni-components": "3.0.0-4080420251103001",
|
|
14
14
|
"@dcloudio/uni-mp-weixin": "3.0.0-4080420251103001",
|
|
15
|
-
"@hlw-uni/mp-core": "^1.0.
|
|
16
|
-
"@hlw-uni/mp-vue": "^1.0.
|
|
15
|
+
"@hlw-uni/mp-core": "^1.0.10",
|
|
16
|
+
"@hlw-uni/mp-vue": "^1.0.3",
|
|
17
17
|
"@vueuse/core": "^10.9.0",
|
|
18
18
|
"pinia": "^2.1.7",
|
|
19
19
|
"pinia-plugin-unistorage": "^0.1.2",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@dcloudio/types": "^3.4.8",
|
|
24
24
|
"@dcloudio/uni-cli-shared": "3.0.0-4080420251103001",
|
|
25
25
|
"@dcloudio/vite-plugin-uni": "3.0.0-4080420251103001",
|
|
26
|
-
"@hlw-uni/mp-vite-plugin": "^1.0.
|
|
26
|
+
"@hlw-uni/mp-vite-plugin": "^1.0.10",
|
|
27
27
|
"@unocss/transformer-directives": "^65.4.3",
|
|
28
28
|
"sass": "^1.70.0",
|
|
29
29
|
"typescript": "^4.9.4",
|
|
@@ -3,7 +3,7 @@ import { createPinia } from "pinia";
|
|
|
3
3
|
import { createUnistorage } from "pinia-plugin-unistorage";
|
|
4
4
|
import App from "./App.vue";
|
|
5
5
|
import { setupDefaultInterceptors, hlw, http } from "@hlw-uni/mp-core";
|
|
6
|
-
import { useUserStore } from "./
|
|
6
|
+
import { useUserStore } from "./store";
|
|
7
7
|
|
|
8
8
|
// 注册默认拦截器(Token + 业务错误 + 401)
|
|
9
9
|
setupDefaultInterceptors({
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|