mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 10:50:53 -07:00
Only run default command if no args
Add custom template (Frameworks)
This commit is contained in:
17
cmd/frameworks/bootstrap4default/main.go
Normal file
17
cmd/frameworks/bootstrap4default/main.go
Normal 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"),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user