Valian / live_vue

End-to-end reactivity for Phoenix LiveView and Vue
https://hex.pm/packages/live_vue
MIT License
219 stars 11 forks source link

Added a Mix.Task to make JS file setup more straightforward and cross-platform #10

Closed morfert closed 4 months ago

morfert commented 4 months ago

I used live_svelte to implement the following mix task.

mix live_vue.setup

It copies the files from assets\copy of live_vue to the phoenix projects' assets folder. It tries to be verbose by listing the full path of the copy origin and the relative path of the destination. It does not copy the file if the file of the same name in the destination already exists. It lists success or failure for each file. Also updated the README.md to now use the mix task instead of the unix shell script with a slight addition to the step 5 description.

morfert commented 4 months ago

Sorry, just realized I changed the wrong section of the README.md.