woutdp / live_svelte

Svelte inside Phoenix LiveView with seamless end-to-end reactivity
https://hexdocs.pm/live_svelte
MIT License
1.01k stars 38 forks source link

Disable SSR for ~V #47

Closed dev-guy closed 1 year ago

dev-guy commented 1 year ago

Need an option to disable SSR for a Svelte implemented with the ~V sigil.

woutdp commented 1 year ago

Is this different than https://github.com/woutdp/live_svelte#options

dev-guy commented 1 year ago

So I just add mount() to the module that has render/1 ?

woutdp commented 1 year ago

Yeah, that should work