Rendering svelte web components on server side. Using Declarative Shadow DOM #14467
Unanswered
AnastasiyaSN
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a library of svelte customElements. Now we need to render these web components on server side. I have read about Declarative Shadow DOM Approach and it looks like solution for us. We should export from out library html template and js bundle with logic separately, then server import template as Declarative Shadow DOM in client widget and import bundle-svelte.js (as here). Вut I cannot found anything about representing svelte component as two parts template.html + logic.svelte (logic.js). Is it possible? Or maybe there is another solution for rendering svelte web components on server side (server app on vue). Thank you!
Beta Was this translation helpful? Give feedback.
All reactions