@easy-cms/nuxt 0.11.0 → 0.12.0
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/module.js +3 -1
- package/package.json +5 -5
package/dist/module.js
CHANGED
|
@@ -106,7 +106,9 @@ declare module '${SERVER}' {
|
|
|
106
106
|
basePath: adminPath,
|
|
107
107
|
apiPath,
|
|
108
108
|
locale: rawConfig?.admin?.locale ?? "en",
|
|
109
|
-
brand: rawConfig?.admin?.brand ?? {}
|
|
109
|
+
brand: rawConfig?.admin?.brand ?? {},
|
|
110
|
+
// The site is this Nuxt app.
|
|
111
|
+
siteUrl: rawConfig?.admin?.siteUrl ?? "/"
|
|
110
112
|
});
|
|
111
113
|
nitro.virtual[ADMIN_SHELL] = `export const basePath = ${JSON.stringify(adminPath)}
|
|
112
114
|
export const html = ${JSON.stringify(shell)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Nuxt module for Easy CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/kit": "^4.5.2",
|
|
22
22
|
"h3": "^1.15.11",
|
|
23
|
-
"@easy-cms/admin": "^0.
|
|
23
|
+
"@easy-cms/admin": "^0.12.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"nuxt": "^4.0.0",
|
|
27
|
-
"@easy-cms/core": "^0.
|
|
27
|
+
"@easy-cms/core": "^0.12.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@nuxt/schema": "^4.5.2",
|
|
31
31
|
"@nuxt/test-utils": "^4.3.2",
|
|
32
32
|
"nuxt": "^4.5.2",
|
|
33
33
|
"vue": "^3.5.0",
|
|
34
|
-
"@easy-cms/core": "^0.
|
|
35
|
-
"@easy-cms/db-sqlite": "^0.
|
|
34
|
+
"@easy-cms/core": "^0.12.0",
|
|
35
|
+
"@easy-cms/db-sqlite": "^0.12.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|