SSR breaks because of createSharedComposable
ilrein opened this issue · 1 comments
ilrein commented
I noticed when deploying this to cloudflare pages, and was trying to isolate the root cause. Eventually I found that the useDashboard
composable was the issue. I suspect that createSharedComposable
is the cause of the problem.
EDIT
Digging in some more it seems like the problem is defineShortcuts
which seems to be clientside only:
benjamincanac commented
I don't understand how you can have this error, there is a process.client
to check this: https://github.com/nuxt/ui/blob/dev/src/runtime/composables/useShortcuts.ts#L6