UNPKG

nuxt

Version:

Nuxt is a free and open-source framework with an intuitive and extendable way to create type-safe, performant and production-grade full-stack web applications and websites with Vue.js.

15 lines (14 loc) 546 B
import type { AppConfig } from 'nuxt/schema'; type DeepPartial<T> = T extends Function ? T : T extends Record<string, any> ? { [P in keyof T]?: DeepPartial<T[P]>; } : T; export declare const _getAppConfig: () => AppConfig; export declare function useAppConfig(): AppConfig; export declare function _replaceAppConfig(newConfig: AppConfig): void; /** * Deep assign the current appConfig with the new one. * * Will preserve existing properties. */ export declare function updateAppConfig(appConfig: DeepPartial<AppConfig>): void; export {};