Fixed pagination. Added entity page channel tile expand.

This commit is contained in:
2024-01-25 03:07:26 +01:00
parent 0b3f98826b
commit d739975d36
29 changed files with 1056 additions and 128 deletions

View File

@@ -1,12 +1,17 @@
// https://vike.dev/onRenderClient
import { createApp } from './app';
import { createApp } from './app.js';
// This onRenderClient() hook only supports SSR, see https://vike.dev/render-modes for how to modify onRenderClient()
// to support SPA
async function onRenderClient(pageContext) {
const { Page, pageProps } = pageContext;
if (!Page) throw new Error('Client-side render() hook expects pageContext.Page to be defined');
if (!Page) {
throw new Error('Client-side render() hook expects pageContext.Page to be defined');
}
const app = createApp(Page, pageProps, pageContext);
app.mount('#app');
}