jfyne / live

Live views and components for golang
https://discord.gg/TuMNaXJMUG
MIT License
655 stars 27 forks source link

Use Go Embed #70

Closed chabad360 closed 3 months ago

chabad360 commented 11 months ago

Go Embed has been out for a while, so I figured it made sense to switch to it instead of using the custom system.

chabad360 commented 3 months ago

@jfyne any chance this could get merged?

jfyne commented 3 months ago

The problem with this is that the JS blob does not come already embedded when you import jfyne live. It now requires a build step.

The prior solution required no npm or node to work.

jfyne commented 3 months ago

Oh I see you have added the compiled JS to git.