Closed phlegx closed 1 year ago
Solved!
In main.js
the default export should be the return of viteSSR()
.
export default viteSSR(App, { routes }, (context) => {
/* Vite SSR main hook for custom logic */
/* const { app, router, initialState, ... } = context */
})
Hi!
What I'm doing wrong, to get this error?