How do I enable a SolidJS UI component library to work with SSR in SolidStart #1597
Unanswered
jsimonrichard
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Hello. I'd check out https://github.com/lxsmnsyc/pridepack they have a solid js library template that will set everything up for you. Looks like some other component libraries are using tsup https://github.com/kobaltedev/kobalte/blob/main/packages/core/tsup.config.ts |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Minimum Reproducible Example (instructions in README): https://github.com/jsimonrichard/solid-start-ssr-ui-lib-issue
I'm trying to use a SolidJS component library (using Vite) in a SolidStart app, both of which are in a monorepo, but I'm getting the following error:
Really long error
It looks like vite / SolidStart / something is running client-side code on the server. Is that accurate?
How do I enable a UI component library to work with SolidStart SSR?
Beta Was this translation helpful? Give feedback.
All reactions