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

Simplify tailwind install step #18

Closed woutdp closed 1 year ago

woutdp commented 1 year ago

I don't like it copies the entire file, while the important change is just one line. Ideally it changes the target tailwind file and adds the line, and if it can't find it, don't add it. And in addition add some instructions to setup tailwind yourself if you want.

woutdp commented 1 year ago

Instead of copying the file, we just now instruct to add something to the tailwind.config.js file. This is a bit nicer imo.