add solid

This commit is contained in:
sam 2023-11-23 21:33:30 +01:00
parent 9bde1a1aa7
commit 7598b1e103
40 changed files with 999 additions and 2353 deletions

View file

@ -40,7 +40,7 @@ func New(app *app.App) *Frontend {
glue, err := vueglue.NewVueGlue(&vueglue.ViteConfig{
Environment: "development",
AssetsPath: "frontend",
EntryPoint: "src/main.tsx",
EntryPoint: "src/index.tsx",
Platform: "vue",
FS: os.DirFS("frontend"),
})
@ -55,7 +55,7 @@ func New(app *app.App) *Frontend {
Environment: "production",
URLPrefix: "/assets/",
AssetsPath: "dist",
EntryPoint: "src/main.tsx",
EntryPoint: "src/index.tsx",
Platform: "vue",
FS: frontend.Embed,
})