vike
Version:
(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.
9 lines (8 loc) • 330 B
JavaScript
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);
}