woutdp / live_svelte

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

Does setup require a mix app or a Phoenix app? #118

Closed wktdev closed 7 months ago

wktdev commented 7 months ago

To setup the app, do I create a basic mix app and then add {:live_svelte, "~> 0.13.0"} as a dependency?

...or am I expected to create a new Phoenix app and add {:live_svelte, "~> 0.13.0"} as a dependency?

If setup requires first creating a Phoenix app, this is not explicitly clear.

woutdp commented 7 months ago

You'll need Phoenix, I'll add it to the docs

woutdp commented 7 months ago

https://github.com/woutdp/live_svelte/commit/24eb71ded510789da13eebe012dc430f289a61a0