12345678910111213141516171819202122232425262728 |
- package vuetifyx
- import (
- "embed"
- "github.com/qor5/web"
- )
- //go:embed vuetifyxjs/dist
- var assetsbox embed.FS
- func JSComponentsPack() web.ComponentsPack {
- v, err := assetsbox.ReadFile("vuetifyxjs/dist/vuetifyxjs.umd.min.js")
- if err != nil {
- panic(err)
- }
- return web.ComponentsPack(v)
- }
- //func CSSComponentsPack() web.ComponentsPack {
- // v, err := assetsbox.ReadFile("vuetifyxjs/dist/vuetifyxjs.css")
- // if err != nil {
- // panic(err)
- // }
- //
- // return web.ComponentsPack(v)
- //}
|