Skip to content

Interface: ResolvedValaxyOptions<ThemeConfig>

Type Parameters

ThemeConfig = DefaultTheme.Config

Properties

addonRoots

addonRoots: string[]

Addon root path

Defined in

packages/valaxy/node/options.ts:67


addons

addons: ValaxyAddonResolver[]

all addons Record<package-name, OptionResolver>

Defined in

packages/valaxy/node/options.ts:93


clientRoot

clientRoot: string

Client root path

Default

ts
'valaxy/client'

Defined in

packages/valaxy/node/options.ts:54


config

config: ValaxyConfig<ThemeConfig> & ValaxyExtendConfig & object

Valaxy Config

Type declaration

runtimeConfig

runtimeConfig: RuntimeConfig

Generated Runtime Config

Defined in

packages/valaxy/node/options.ts:76


configFile

configFile: string

config file path

Defined in

packages/valaxy/node/options.ts:85


env

env: MarkdownEnv & object

Type declaration

links: string[]

Defined in

packages/valaxy/node/options.ts:99


mode

mode: "build" | "dev"

Defined in

packages/valaxy/node/options.ts:40


pages

pages: string[]

Defined in

packages/valaxy/node/options.ts:88


pkgRoot

pkgRoot: string

package.json root

Defined in

packages/valaxy/node/options.ts:44


redirects

redirects: RedirectItem[]

Collect redirect rule

Defined in

packages/valaxy/node/options.ts:97


roots

roots: string[]

clientRoot, themeRoot, ...addonRoots, userRoot

Defined in

packages/valaxy/node/options.ts:71


siteConfigFile

siteConfigFile: string

Defined in

packages/valaxy/node/options.ts:86


tempDir

tempDir: string

temp dir, store d.ts and other temp files .valaxy

Defined in

packages/valaxy/node/options.ts:49


theme

theme: string

Defined in

packages/valaxy/node/options.ts:72


themeConfigFile

themeConfigFile: string

Defined in

packages/valaxy/node/options.ts:87


themeRoot

themeRoot: string

Theme root path

Defined in

packages/valaxy/node/options.ts:63


userRoot

userRoot: string

User root path

Default

ts
process.cwd()

Defined in

packages/valaxy/node/options.ts:59