@pubinfo/core 2.0.0-beta.32 → 2.0.0-beta.33

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.
@@ -13,7 +13,10 @@ export interface Context {
13
13
  iconRegistry: IconRegistry;
14
14
  }
15
15
  export interface Options {
16
- /** 根节点 */
16
+ /**
17
+ * 根节点
18
+ * @default "#app"
19
+ */
17
20
  rootContainer?: string | Element;
18
21
  /**
19
22
  * 立即执行
@@ -38,9 +41,9 @@ export interface Module {
38
41
  /**
39
42
  * 插件调用顺序:
40
43
  * - `enforce: pre` 插件
41
- * - 腾龙核心功能(即内置的各类路由守卫、状态管理等)
44
+ * - 内置核心插件(即路由守卫、状态管理等)
42
45
  * - 普通插件
43
- * - 项目初始化函数(即 `createPubinfo` 第三个参数)
46
+ * - 初始化函数(即 `createPubinfo` 第三个参数)
44
47
  * - `enforce: post` 插件
45
48
  */
46
49
  enforce?: 'pre' | 'post';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/core",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.32",
4
+ "version": "2.0.0-beta.33",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "vue": "^3.5.17",
29
29
  "vue-i18n": "^10.0.7",
30
30
  "vue-router": "^4.5.1",
31
- "@pubinfo/config": "2.0.0-beta.32"
31
+ "@pubinfo/config": "2.0.0-beta.33"
32
32
  },
33
33
  "dependencies": {
34
34
  "@alova/adapter-axios": "^2.0.16",
@@ -84,7 +84,7 @@
84
84
  "vue": "^3.5.17",
85
85
  "vue-i18n": "^10.0.7",
86
86
  "vue-router": "^4.5.1",
87
- "@pubinfo/config": "2.0.0-beta.32"
87
+ "@pubinfo/config": "2.0.0-beta.33"
88
88
  },
89
89
  "scripts": {
90
90
  "dev": "vite build -w -m watch",
package/src/interface.ts CHANGED
@@ -15,7 +15,10 @@ export interface Context {
15
15
  }
16
16
 
17
17
  export interface Options {
18
- /** 根节点 */
18
+ /**
19
+ * 根节点
20
+ * @default "#app"
21
+ */
19
22
  rootContainer?: string | Element
20
23
 
21
24
  /**
@@ -47,9 +50,9 @@ export interface Module {
47
50
  /**
48
51
  * 插件调用顺序:
49
52
  * - `enforce: pre` 插件
50
- * - 腾龙核心功能(即内置的各类路由守卫、状态管理等)
53
+ * - 内置核心插件(即路由守卫、状态管理等)
51
54
  * - 普通插件
52
- * - 项目初始化函数(即 `createPubinfo` 第三个参数)
55
+ * - 初始化函数(即 `createPubinfo` 第三个参数)
53
56
  * - `enforce: post` 插件
54
57
  */
55
58
  enforce?: 'pre' | 'post'