LOGOVALAXY
  • Config
  • API
Documentation navigation
  • client

  • node

    • Classes

    • Interfaces

    • Type Aliases

    • Variables

      • ALL_ROUTE

      • customElements

      • defaultSiteConfig

      • defaultValaxyConfig

      • defaultViteConfig

      • defineAddon

      • defineConfig

      • defineTheme

      • desktopRuntimeVersion

      • EXCERPT_SEPARATOR

      • GLOBAL_STATE

      • isInstalledGlobally

      • mergeValaxyConfig

      • PATHNAME_PROTOCOL_RE

      • version

    • Functions

  • types

Variable: defineConfig ​

Source: 1.0.0-rc.14 · a572916b42ec

ts
const defineConfig: <ThemeConfig>(config) => PartialDeep<ValaxyNodeConfig<ThemeConfig>> = defineValaxyConfig;

Defined in: packages/valaxy/node/config/valaxy.ts:123

Type helper for valaxy.config.ts

Type Parameters ​

ThemeConfig ​

ThemeConfig

Parameters ​

config ​

UserValaxyNodeConfig<ThemeConfig>

Returns ​

PartialDeep<ValaxyNodeConfig<ThemeConfig>>

Previous pagedefineAddon
Next pagedefineTheme
On this page

Released under the MIT License. (a572916b)

Copyright © 2022-present YunYouJun & Valaxy Contributors