@monkeyplus/flow 5.0.0-rc.65 → 5.0.0-rc.67
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.
|
@@ -32,6 +32,7 @@ export default eventHandler(async (event) => {
|
|
|
32
32
|
const contextHooks = {};
|
|
33
33
|
await flow.callHook("page:context", { localeCode: locale.code, page: pageName }, utils, contextHooks);
|
|
34
34
|
templateContext.url = url;
|
|
35
|
+
templateContext.baseURL = flow.$config.app.baseURL;
|
|
35
36
|
const pageObject = {
|
|
36
37
|
name: pageName,
|
|
37
38
|
pathname: url,
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ import { isExternal as isExternal$1, ExternalsDefaults } from 'externality';
|
|
|
29
29
|
import { createHash } from 'node:crypto';
|
|
30
30
|
import MagicString from 'magic-string';
|
|
31
31
|
|
|
32
|
-
const version = "5.0.0-rc.
|
|
32
|
+
const version = "5.0.0-rc.67";
|
|
33
33
|
|
|
34
34
|
let _distDir = dirname(fileURLToPath(import.meta.url));
|
|
35
35
|
if (_distDir.endsWith("chunks"))
|
|
@@ -494,6 +494,7 @@ async function initNitro(flow) {
|
|
|
494
494
|
...flow.options.runtimeConfig,
|
|
495
495
|
app: {
|
|
496
496
|
...flow.options.runtimeConfig.app,
|
|
497
|
+
baseURL: flow.options.dev ? "/" : flow.options.app.baseURL,
|
|
497
498
|
rootDir: flow.options.rootDir,
|
|
498
499
|
locale: flow.options.locale
|
|
499
500
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkeyplus/flow",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.67",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@monkeyplus/flow-cli": "5.0.0-rc.
|
|
29
|
-
"@monkeyplus/flow-kit": "5.0.0-rc.
|
|
30
|
-
"@monkeyplus/flow-schema": "5.0.0-rc.
|
|
28
|
+
"@monkeyplus/flow-cli": "5.0.0-rc.67",
|
|
29
|
+
"@monkeyplus/flow-kit": "5.0.0-rc.67",
|
|
30
|
+
"@monkeyplus/flow-schema": "5.0.0-rc.67",
|
|
31
31
|
"@rollup/plugin-replace": "^4.0.0",
|
|
32
32
|
"@vueuse/head": "^0.7.6",
|
|
33
33
|
"c12": "^0.2.8",
|