mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 02:30:48 +08:00
18 lines
367 B
Go
18 lines
367 B
Go
// +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: BoxString(&assets, "bootstrap.bundle.min.js"),
|
|
CSS: BoxString(&assets, "bootstrap.min.css"),
|
|
}
|
|
}
|