front

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

adminBox

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint

Documentation

Overview

Package front embeds and serves the AdminBox Vue frontend UI.

The frontend is compiled into the binary via Go's embed directive. Import this package with a blank identifier to register the UI routes on the httpServer automatically.

Index

Constants

This section is empty.

Variables

View Source
var CrudTemplate string

Functions

func DynamicTemplate

func DynamicTemplate(ctx *gin.Context, filePath string)

func RewriteIndex

func RewriteIndex(f func(ctx *gin.Context))

func SetAdminBoxJsUserCodeSnippet

func SetAdminBoxJsUserCodeSnippet(cfg, function string)

func TemplateBuild

func TemplateBuild(filePath, embedStr string) func(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL