Quasar dev (mode SSR) Unhandled error at setup function #15708
-
I have recreated a project from Vue + Vite with Quasar SPA to Quasar CLI Vite SSR. I did that because I need SSR for SEO. I succeded to import every files and fix all the errors, running SPA dev mode
I don't know what is PrettyPageHandler (no info in Quasar doc). This is my NavBar component script setup imports (the setup function the [Vue Warn] is talking about, isn't it?):
The dependencies from package.json:
I am not using Firebase nor FullCalendar in the NavBar. The NavBar component is the first component called from the App.vue.
The I have no clue what to do and where to search. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Well, it was just the use of Fixed it by doing it only Client side, not server side
|
Beta Was this translation helpful? Give feedback.
-
I have this error when I try to execute the comand: quasar dev -m ssr |
Beta Was this translation helpful? Give feedback.
-
in the folder src-ssr/middlewares/ssr-flag.d.ts show me an error in this archive in th word module: declare module "quasar/dist/types/feature-flag" { |
Beta Was this translation helpful? Give feedback.
Well, it was just the use of
window
(window.onscroll() for example)Fixed it by doing it only Client side, not server side