fix: auto reload on multiple browser windows/tabs closes #6; fix: chatroom example not compiling
This commit is contained in:
@@ -24,7 +24,6 @@ func main() {
|
||||
DevMode: true,
|
||||
DocumentTitle: "ViaChat",
|
||||
LogLvl: via.LogLevelInfo,
|
||||
Plugins: []via.Plugin{via.SigQuitPlugin},
|
||||
})
|
||||
|
||||
v.AppendToHead(
|
||||
|
||||
@@ -27,7 +27,7 @@ func main() {
|
||||
|
||||
c.View(func() h.H {
|
||||
return h.Div(
|
||||
h.H1(h.Text("Live Reload with Via DevMode !!!")),
|
||||
h.H1(h.Text("⚡Via Live Reload!")),
|
||||
h.P(h.Textf("Count: %d", data.Count)),
|
||||
h.P(h.Span(h.Text("Step: ")), h.Span(step.Text())),
|
||||
h.Label(
|
||||
|
||||
Reference in New Issue
Block a user