initial commit

This commit is contained in:
Zoe
2024-09-03 22:24:57 -05:00
commit 7e08411ece
23 changed files with 433 additions and 0 deletions

14
ui/embed.go Normal file
View File

@@ -0,0 +1,14 @@
// Package ui handles the frontend embedding
package ui
import (
"embed"
"github.com/labstack/echo/v4"
)
//go:embed all:.output/public
var distDir embed.FS
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
var DistDirFS = echo.MustSubFS(distDir, ".output/public")