@revojs/vue 0.1.6 → 0.1.7
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/index.js +9 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import "revojs";
|
|
2
|
-
import { addAssets, addRoutes, useKit } from "revojs/vite";
|
|
1
|
+
import { addAssets, addRoutes, useKit } from "@revojs/kit";
|
|
3
2
|
|
|
3
|
+
//#region ../revojs/dist/index.js
|
|
4
|
+
const ROUTER_CONTEXT = defineContext("ROUTER_CONTEXT");
|
|
5
|
+
const SERVER_CONTEXT = defineContext("SERVER_CONTEXT");
|
|
6
|
+
function defineContext(name) {
|
|
7
|
+
return name;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
4
11
|
//#region src/index.ts
|
|
5
12
|
function addPages(app, path) {
|
|
6
13
|
app.config.sources.pages?.entries.push(path);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revojs/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "coverbase/revojs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"watch": "tsdown -w"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"revojs": "*",
|
|
32
|
+
"@revojs/kit": "*",
|
|
33
33
|
"vue": "^3.5.19",
|
|
34
34
|
"vue-router": "^4.5.1"
|
|
35
35
|
},
|