Skip to content

node

Interfaces

InterfaceDescription
CdnModuleA module to load from CDN instead of bundling
LoadConfigFromFileOptions-
MdAfterRenderContext-
ResolvedConfig-
ResolvedValaxyOptions-
ValaxyAddonResolver-
ValaxyEntryOptions-
ValaxyExtendConfig-
ValaxyHooks-
ValaxyNode-
ValaxyServerOptions-

Type Aliases

Type AliasDescription
HookResult-
UnoSetup-
UserInputConfig-
UserValaxyNodeConfig-
ValaxyAddonExport-
ValaxyAddonFn-
ValaxyAddonLike-
ValaxyAddons-
ValaxyApp-
ValaxyConfigExport-
ValaxyConfigExtendKey-
ValaxyConfigFnfn with options for theme config
ValaxyNodeConfig-
ValaxyPickConfig-
ValaxyTheme-

Variables

VariableDescription
ALL_ROUTE-
cli-
customElements-
defaultSiteConfig-
defaultValaxyConfig-
defaultViteConfig-
defineAddon-
defineConfig-
defineTheme-
EXCERPT_SEPARATOR-
GLOBAL_STATE-
isInstalledGlobally-
mergeValaxyConfigmerge valaxy.config (source, default)
PATHNAME_PROTOCOL_RE-
version-

Functions

FunctionDescription
$t试验性
build-
createServer-
defineSiteConfigType helper for site.config.ts
defineUnoSetup-
defineValaxyAddon-
defineValaxyConfigType helper for valaxy.config.ts
defineValaxyTheme-
encryptContent-
generateClientRedirects-
getGitTimestamp-
getServerInfoTextwith valaxyPrefix
isExternalis url external (http/https:)
isKatexEnabledWhether KaTeX is enabled (disabled when MathJax is active).
isKatexPluginNeededWhether the KaTeX markdown-it plugin should be registered. Always true unless MathJax is active, so that per-page frontmatter.katex: true can work even when features.katex is globally false.
isMathJaxEnabledWhether MathJax is enabled (takes priority over KaTeX).
isPath-
loadConfigFromFile-
postProcessForSSGpost process for ssg fix extra string like /html> ml> l> handle tasks after ssg build todo find why
processValaxyOptionsPost process valaxyOptions
registerDevCommand-
resolveAddonsConfig-
resolveImportPathBefore is CJS: use 'resolve' ESM: use 'mlly'
resolveImportUrlResolve path for import url on Vite client side
resolveOptions-
resolveSiteConfigresolve site.config.ts and merge with default
resolveSiteConfigFromRootresolve valaxy config from special root
resolveThemeConfigFromRootresolve theme config from special root
resolveThemeValaxyConfigresolve theme config
resolveUserThemeConfigresolve theme.config.ts and merge with default
resolveValaxyConfigresolve user valaxy config options only have userRoot
resolveValaxyConfigFromRoot-
run-
ssgBuild-
startValaxyDev-
toAtFS-
transformObjecttransform obj for vite code
ViteValaxyPlugins-