Documentation
¶
Overview ¶
Package resource exposes embedded templates and static assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetsFS ¶ added in v0.0.4
GetAssetsFS returns the built asset filesystem for the current environment.
func GetStaticFS ¶
GetStaticFS returns the static asset filesystem for the current environment.
func GetTemplateFS ¶ added in v0.1.1
GetTemplateFS returns the template filesystem for the current environment.
Types ¶
type ThemeConfig ¶ added in v0.1.1
type ThemeConfig struct {
Name string `json:"name"`
Description string `json:"description"`
Version string `json:"version"`
ViteDevServerURL string `json:"ViteDevServerURL"`
Manifest string `json:"manifest"`
}
ThemeConfig describes the front-end resource bundle metadata.
func GetThemeConfig ¶ added in v0.1.1
func GetThemeConfig() (*ThemeConfig, error)
GetThemeConfig reads the theme metadata from the template filesystem.
Click to show internal directories.
Click to hide internal directories.