Skip to content

Interface: ResolvedValaxyOptions<ThemeConfig>

Defined in: packages/valaxy/node/options.ts:40

Type Parameters

ThemeConfig = DefaultTheme.Config

Properties

addonRoots

addonRoots: string[]

Defined in: packages/valaxy/node/options.ts:68

Addon root path


addons

addons: ValaxyAddonResolver[]

Defined in: packages/valaxy/node/options.ts:94

all addons Record<package-name, OptionResolver>


clientRoot

clientRoot: string

Defined in: packages/valaxy/node/options.ts:55

Client root path

Default

ts
'valaxy/client'

config

config: ValaxyConfig<ThemeConfig> & ValaxyExtendConfig & object

Defined in: packages/valaxy/node/options.ts:77

Valaxy Config

Type declaration

runtimeConfig

runtimeConfig: RuntimeConfig

Generated Runtime Config


configFile

configFile: string

Defined in: packages/valaxy/node/options.ts:86

config file path


env

env: MarkdownEnv & object

Defined in: packages/valaxy/node/options.ts:100

Type declaration

links: string[]


mode

mode: "dev" | "build"

Defined in: packages/valaxy/node/options.ts:41


pages

pages: string[]

Defined in: packages/valaxy/node/options.ts:89


pkgRoot

pkgRoot: string

Defined in: packages/valaxy/node/options.ts:45

package.json root


redirects

redirects: RedirectItem[]

Defined in: packages/valaxy/node/options.ts:98

Collect redirect rule


roots

roots: string[]

Defined in: packages/valaxy/node/options.ts:72

clientRoot, themeRoot, ...addonRoots, userRoot


siteConfigFile

siteConfigFile: string

Defined in: packages/valaxy/node/options.ts:87


tempDir

tempDir: string

Defined in: packages/valaxy/node/options.ts:50

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


theme

theme: string

Defined in: packages/valaxy/node/options.ts:73


themeConfigFile

themeConfigFile: string

Defined in: packages/valaxy/node/options.ts:88


themeRoot

themeRoot: string

Defined in: packages/valaxy/node/options.ts:64

Theme root path


userRoot

userRoot: string

Defined in: packages/valaxy/node/options.ts:60

User root path

Default

ts
process.cwd()