Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vite ¶
type Vite struct {
ClientPath string
DevelopmentMode bool
DevServer string
ErrorLog *log.Logger
InfoLog *log.Logger
Host string
Manifest string
ManifestPath string
Port string
DistDir string
RootDir string
}
func (*Vite) GetViteAssetPath ¶
Return a path to an asset from the Vite development server in devlopment mode or lookup the path to a Vite resource though the Vite manifest
func (*Vite) ParseViteBuildManifest ¶
func (v *Vite) ParseViteBuildManifest() ViteManifest
Read the Vite manifest file from disk and render a Vite manfiest during Jet template render.
type ViteManifest ¶
type ViteManifest struct {
Chunk map[string]ViteManifestEntry
}
Click to show internal directories.
Click to hide internal directories.