mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 21:31:39 +08:00

* Initial create of vuetify2-basic folder * Change template descr of vuetify-basic to say Vuetify 1.5 * Get vuetify2 template installing vuetify v2.0 (but with styling probs) * Update App.vue, HelloWorld.vue for Vuetify v2 * Remove babel-polyfill, add mdi/font * fix: codacy corrections * fix: babel -> core-js, regenerator-runtime Co-authored-by: Michael Hipp <michael@redmule.com> Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
28 lines
442 B
Plaintext
28 lines
442 B
Plaintext
package main
|
|
|
|
import (
|
|
"github.com/leaanthony/mewn"
|
|
"github.com/wailsapp/wails"
|
|
)
|
|
|
|
func basic() string {
|
|
return "Hello World!"
|
|
}
|
|
|
|
func main() {
|
|
|
|
js := mewn.String("./frontend/dist/app.js")
|
|
css := mewn.String("./frontend/dist/app.css")
|
|
|
|
app := wails.CreateApp(&wails.AppConfig{
|
|
Width: 1024,
|
|
Height: 768,
|
|
Title: "{{.Name}}",
|
|
JS: js,
|
|
CSS: css,
|
|
Colour: "#131313",
|
|
})
|
|
app.Bind(basic)
|
|
app.Run()
|
|
}
|