UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

9 lines (8 loc) 330 B
export { getConfigValueRuntime }; import { getConfigValueTyped } from './getConfigValueTyped.js'; function getConfigValueRuntime(pageConfig, configName, type) { const configValue = pageConfig.configValues[configName]; if (!configValue) return null; return getConfigValueTyped(configValue, configName, type); }