64 lines
1.6 KiB
TypeScript
64 lines
1.6 KiB
TypeScript
|
|
export interface ModuleOptions {
|
||
|
|
features?: {
|
||
|
|
/**
|
||
|
|
* Whether to update references when renaming auto imported component files.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
components?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable Go to Definition for dynamic imports with glob patterns.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
importGlob?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable named layout slots support in the pages.
|
||
|
|
* @default false
|
||
|
|
*/
|
||
|
|
namedLayoutSlots?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable Go to Definition for nitro routes in data fetching methods.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
nitroRoutes?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable Go to Definition for page metadata.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
pageMeta?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable Go to Definition for runtime config.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
runtimeConfig?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable Go to Definition for typed pages.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
typedPages?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable enhanced navigation for auto imported APIs.
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
unimport?: boolean;
|
||
|
|
/**
|
||
|
|
* Whether to enable unofficial features for Vue itself.
|
||
|
|
* - find references for SFC on `<template>`
|
||
|
|
* @default true
|
||
|
|
*/
|
||
|
|
unofficial?: boolean;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
declare const _default: import("@nuxt/schema").NuxtModule<ModuleOptions, {
|
||
|
|
features: {
|
||
|
|
components: true;
|
||
|
|
importGlob: true;
|
||
|
|
namedLayoutSlots: false;
|
||
|
|
nitroRoutes: true;
|
||
|
|
pageMeta: true;
|
||
|
|
runtimeConfig: true;
|
||
|
|
typedPages: true;
|
||
|
|
unimport: true;
|
||
|
|
unofficial: true;
|
||
|
|
};
|
||
|
|
}, true>;
|
||
|
|
export { _default as default };
|