woutdp / live_svelte

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

Import JS wherever possible instead of simply copying files #2

Closed woutdp closed 1 year ago

woutdp commented 1 year ago

Instead of the JS files being copied during the setup, I'd prefer to just import from live_svelte wherever possible

woutdp commented 1 year ago

https://github.com/revelrylabs/elixir_react_render

woutdp commented 1 year ago

https://github.com/benwoodward/elixir_svelte_render

woutdp commented 1 year ago

It's a lot better now, we're using the way https://github.com/phoenixframework/phoenix_live_view is doing it for now

Can probably still be improved, but closing for now