@esmx/router-vue 3.0.0-rc.19 → 3.0.0-rc.20
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/dist/plugin.d.ts +9 -3
- package/dist/router-view.d.ts +1 -0
- package/dist/util.mjs +1 -1
- package/package.json +4 -4
- package/src/plugin.ts +9 -3
- package/src/router-view.ts +1 -0
- package/src/util.ts +1 -1
package/dist/plugin.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Vue plugin for
|
|
2
|
+
* Vue plugin for \@esmx/router integration.
|
|
3
3
|
* Registers RouterLink and RouterView components globally.
|
|
4
4
|
* Compatible with both Vue 2.7+ and Vue 3.
|
|
5
5
|
*
|
|
6
|
-
* @example
|
|
6
|
+
* @example
|
|
7
|
+
*
|
|
8
|
+
* Vue 3 installation
|
|
9
|
+
*
|
|
7
10
|
* ```typescript
|
|
8
11
|
* import { createApp } from 'vue';
|
|
9
12
|
* import { Router } from '@esmx/router';
|
|
@@ -25,7 +28,10 @@
|
|
|
25
28
|
* app.mount('#app');
|
|
26
29
|
* ```
|
|
27
30
|
*
|
|
28
|
-
* @example
|
|
31
|
+
* @example
|
|
32
|
+
*
|
|
33
|
+
* Vue 2 installation
|
|
34
|
+
*
|
|
29
35
|
* ```typescript
|
|
30
36
|
* import Vue from 'vue';
|
|
31
37
|
* import { Router } from '@esmx/router';
|
package/dist/router-view.d.ts
CHANGED
package/dist/util.mjs
CHANGED
package/package.json
CHANGED
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"vue": "^3.5.0 || ^2.7.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@esmx/router": "3.0.0-rc.
|
|
53
|
+
"@esmx/router": "3.0.0-rc.20"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@biomejs/biome": "1.9.4",
|
|
57
|
-
"@esmx/lint": "3.0.0-rc.
|
|
57
|
+
"@esmx/lint": "3.0.0-rc.20",
|
|
58
58
|
"@types/node": "22.15.18",
|
|
59
59
|
"@vitest/coverage-v8": "3.1.3",
|
|
60
60
|
"stylelint": "16.19.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"vue": "3.5.13",
|
|
65
65
|
"vue2": "npm:vue@2.7.16"
|
|
66
66
|
},
|
|
67
|
-
"version": "3.0.0-rc.
|
|
67
|
+
"version": "3.0.0-rc.20",
|
|
68
68
|
"type": "module",
|
|
69
69
|
"private": false,
|
|
70
70
|
"exports": {
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"template",
|
|
84
84
|
"public"
|
|
85
85
|
],
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "4c6490c23cbc148cb189b3f2cdae930eed901607"
|
|
87
87
|
}
|
package/src/plugin.ts
CHANGED
|
@@ -12,11 +12,14 @@ interface VueApp {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Vue plugin for
|
|
15
|
+
* Vue plugin for \@esmx/router integration.
|
|
16
16
|
* Registers RouterLink and RouterView components globally.
|
|
17
17
|
* Compatible with both Vue 2.7+ and Vue 3.
|
|
18
18
|
*
|
|
19
|
-
* @example
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* Vue 3 installation
|
|
22
|
+
*
|
|
20
23
|
* ```typescript
|
|
21
24
|
* import { createApp } from 'vue';
|
|
22
25
|
* import { Router } from '@esmx/router';
|
|
@@ -38,7 +41,10 @@ interface VueApp {
|
|
|
38
41
|
* app.mount('#app');
|
|
39
42
|
* ```
|
|
40
43
|
*
|
|
41
|
-
* @example
|
|
44
|
+
* @example
|
|
45
|
+
*
|
|
46
|
+
* Vue 2 installation
|
|
47
|
+
*
|
|
42
48
|
* ```typescript
|
|
43
49
|
* import Vue from 'vue';
|
|
44
50
|
* import { Router } from '@esmx/router';
|
package/src/router-view.ts
CHANGED
package/src/util.ts
CHANGED