Files
wails/cmd/templates/vuewebpack/main.go.template
Lea Anthony 5c96264234 Update vue template to use BoxString
Made arg marshalling messages Debug rather than Info
2019-01-11 06:39:42 +11:00

22 lines
383 B
Plaintext

package main
import (
"github.com/gobuffalo/packr"
"github.com/wailsapp/wails"
)
func main() {
assets := packr.NewBox("./frontend/dist")
app := wails.CreateApp(&wails.AppConfig{
Width: 1024,
Height: 768,
Title: "{{.Name}}",
JS: wails.BoxString(&assets, "app.js"),
CSS: wails.BoxString(&assets, "app.css"),
})
app.Bind(newQuotesCollection())
app.Run()
}