Only run default command if no args

Add custom template (Frameworks)
This commit is contained in:
Lea Anthony
2018-12-26 19:09:18 +11:00
parent 859b2dd638
commit 53cf2bb953
20 changed files with 248 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
// +build frameworkbootstrap4
package bootstrap4
import (
"github.com/gobuffalo/packr"
"github.com/wailsapp/wails/frameworks"
)
func init() {
assets := packr.NewBox("./assets")
frameworks.FrameworkToUse = &frameworks.Framework{
Name: "Bootstrap 4",
JS: assets.String("bootstrap.bundle.min.js"),
CSS: assets.String("bootstrap.min.css"),
}
}