Files
wails/cmd/templates/custom/main.go.template
Lea Anthony aa6b67734b Initial Port
Updated templates
2019-01-08 17:48:37 +11:00

25 lines
348 B
Plaintext

package main
import (
wails "github.com/wailsapp/wails"
)
var html = `
<div style='text-align:center'>
<h1> Custom </h1>
Welcome to your basic Wails app with added CSS!
</div>
`
func main() {
// Initialise the app
app := wails.CreateApp(&wails.AppConfig{
Width: 800,
Height: 600,
Title: "{{.Name}}",
HTML: html,
})
app.Run()
}