@live-change/frontend-base 0.2.2 → 0.2.3
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/client-entry.js +1 -1
- package/main.js +2 -2
- package/package.json +3 -3
- package/server-entry.js +1 -1
- package/vite-config.js +7 -2
package/client-entry.js
CHANGED
|
@@ -19,7 +19,7 @@ export function clientEntry(App, createRouter) {
|
|
|
19
19
|
|
|
20
20
|
const host = document.location.host
|
|
21
21
|
|
|
22
|
-
const { app, router } = createApp(api, App, createRouter, host)
|
|
22
|
+
const { app, router } = createApp(api, App, createRouter, host, false)
|
|
23
23
|
|
|
24
24
|
app.use(createSharedElementDirective())
|
|
25
25
|
router.beforeEach(SharedElementRouteGuard)
|
package/main.js
CHANGED
|
@@ -18,7 +18,7 @@ import BadgeDirective from 'primevue/badgedirective'
|
|
|
18
18
|
// SSR requires a fresh app instance per request, therefore we export a function
|
|
19
19
|
// that creates a fresh app instance. If using Vuex, we'd also be creating a
|
|
20
20
|
// fresh store here.
|
|
21
|
-
export function createApp(api, App, createRouter, host) {
|
|
21
|
+
export function createApp(api, App, createRouter, host, isSSR) {
|
|
22
22
|
const app = createSSRApp(App)
|
|
23
23
|
app.config.devtools = true
|
|
24
24
|
|
|
@@ -63,7 +63,7 @@ export function createApp(api, App, createRouter, host) {
|
|
|
63
63
|
app.directive('badge', BadgeDirective)
|
|
64
64
|
|
|
65
65
|
const meta = createMetaManager({
|
|
66
|
-
isSSR
|
|
66
|
+
isSSR
|
|
67
67
|
})
|
|
68
68
|
app.use(meta)
|
|
69
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-base",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "lcli memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@live-change/password-authentication-service": "0.2.51",
|
|
29
29
|
"@live-change/secret-code-service": "0.2.51",
|
|
30
30
|
"@live-change/secret-link-service": "0.2.51",
|
|
31
|
-
"@live-change/security-frontend": "^0.2.
|
|
31
|
+
"@live-change/security-frontend": "^0.2.3",
|
|
32
32
|
"@live-change/session-service": "0.2.51",
|
|
33
33
|
"@live-change/user-service": "0.2.51",
|
|
34
34
|
"@live-change/vue3-components": "0.2.15",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"author": "",
|
|
69
69
|
"license": "BSD-3-Clause",
|
|
70
70
|
"description": "",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a91ef8d26ea58cabf9fef85347826ccd32096f8d"
|
|
72
72
|
}
|
package/server-entry.js
CHANGED
package/vite-config.js
CHANGED
|
@@ -72,7 +72,8 @@ module.exports = async ({ command, mode }) => ({
|
|
|
72
72
|
'@live-change/framework',
|
|
73
73
|
'@live-change/framework/lib/utils/validators.js',
|
|
74
74
|
'debug',
|
|
75
|
-
'vite'
|
|
75
|
+
'vite',
|
|
76
|
+
'pica'
|
|
76
77
|
],
|
|
77
78
|
noExternal: [
|
|
78
79
|
'vue-meta',
|
|
@@ -82,6 +83,9 @@ module.exports = async ({ command, mode }) => ({
|
|
|
82
83
|
'@live-change/email-service',
|
|
83
84
|
'@live-change/password-authentication-service',
|
|
84
85
|
'@live-change/db-admin',
|
|
86
|
+
'@live-change/user-frontend',
|
|
87
|
+
'@live-change/frontend-base',
|
|
88
|
+
'@live-change/frontend-utils',
|
|
85
89
|
'vue3-scroll-border',
|
|
86
90
|
'pretty-bytes'
|
|
87
91
|
]
|
|
@@ -94,7 +98,8 @@ module.exports = async ({ command, mode }) => ({
|
|
|
94
98
|
'@live-change/uid',
|
|
95
99
|
'@live-change/framework',
|
|
96
100
|
'@live-change/framework/lib/utils/validators.js',
|
|
97
|
-
'debug'
|
|
101
|
+
'debug',
|
|
102
|
+
'pica'
|
|
98
103
|
]
|
|
99
104
|
},
|
|
100
105
|
|