mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-22 19:07:59 +00:00
.github
.vscode
docker
internal
migrations
ui
dist
public
src
.eslintrc.cjs
.gitignore
.prettierrc.cjs
README.md
components.json
embed.go
index.html
package-lock.json
package.json
postcss.config.js
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.node.json
vite.config.ts
.dockerignore
.editorconfig
.gitignore
.goreleaser.yml
CHANGELOG.md
CONTRIBUTING.md
CONTRIBUTING_EN.md
Dockerfile
LICENSE.md
Makefile
README.md
README_EN.md
go.mod
go.sum
main.go
nixpacks.toml
usage.gif
15 lines
302 B
Go
15 lines
302 B
Go
// Package ui handles the PocketBase Admin frontend embedding.
|
|
package ui
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"github.com/labstack/echo/v5"
|
|
)
|
|
|
|
//go:embed all:dist
|
|
var distDir embed.FS
|
|
|
|
// DistDirFS contains the embedded dist directory files (without the "dist" prefix)
|
|
var DistDirFS = echo.MustSubFS(distDir, "dist")
|