2021-04-02 11:47:01 +00:00
|
|
|
// Module
|
2024-07-03 16:46:42 +00:00
|
|
|
export { defineNuxtModule } from './module/define'
|
|
|
|
export { getDirectory, installModule, loadNuxtModuleInstance, normalizeModuleTranspilePath } from './module/install'
|
|
|
|
export { getNuxtModuleVersion, hasNuxtModule, hasNuxtModuleCompatibility } from './module/compatibility'
|
2021-11-21 16:14:46 +00:00
|
|
|
|
|
|
|
// Loader
|
2024-07-03 16:46:42 +00:00
|
|
|
export { loadNuxtConfig } from './loader/config'
|
|
|
|
export type { LoadNuxtConfigOptions } from './loader/config'
|
|
|
|
export { extendNuxtSchema } from './loader/schema'
|
|
|
|
export { buildNuxt, loadNuxt } from './loader/nuxt'
|
|
|
|
export type { LoadNuxtOptions } from './loader/nuxt'
|
2021-04-02 11:47:01 +00:00
|
|
|
|
|
|
|
// Utils
|
2024-07-03 16:46:42 +00:00
|
|
|
export { addImports, addImportsDir, addImportsSources } from './imports'
|
2024-05-09 17:49:35 +00:00
|
|
|
export { updateRuntimeConfig, useRuntimeConfig } from './runtime-config'
|
2024-10-09 13:57:54 +00:00
|
|
|
export { addBuildPlugin, addVitePlugin, addRspackPlugin, addWebpackPlugin, extendViteConfig, extendRspackConfig, extendWebpackConfig } from './build'
|
2024-07-03 16:46:42 +00:00
|
|
|
export type { ExtendConfigOptions, ExtendViteConfigOptions, ExtendWebpackConfigOptions } from './build'
|
|
|
|
export { assertNuxtCompatibility, checkNuxtCompatibility, getNuxtVersion, hasNuxtCompatibility, isNuxtMajorVersion, normalizeSemanticVersion, isNuxt2, isNuxt3 } from './compatibility'
|
|
|
|
export { addComponent, addComponentsDir } from './components'
|
|
|
|
export type { AddComponentOptions } from './components'
|
|
|
|
export { nuxtCtx, tryUseNuxt, useNuxt } from './context'
|
2023-08-25 12:08:38 +00:00
|
|
|
export { isIgnored, resolveIgnorePatterns } from './ignore'
|
2024-07-03 16:46:42 +00:00
|
|
|
export { addLayout } from './layout'
|
|
|
|
export { addRouteMiddleware, extendPages, extendRouteRules } from './pages'
|
|
|
|
export type { AddRouteMiddlewareOptions, ExtendRouteRulesOptions } from './pages'
|
|
|
|
export { addPlugin, addPluginTemplate, normalizePlugin } from './plugin'
|
|
|
|
export type { AddPluginOptions } from './plugin'
|
|
|
|
export { createResolver, findPath, resolveAlias, resolveFiles, resolveNuxtModule, resolvePath } from './resolve'
|
|
|
|
export type { ResolvePathOptions, Resolver } from './resolve'
|
|
|
|
export { addServerHandler, addDevServerHandler, addServerPlugin, addPrerenderRoutes, useNitro, addServerImports, addServerImportsDir, addServerScanDir } from './nitro'
|
2024-11-25 10:04:57 +00:00
|
|
|
export { addTemplate, addServerTemplate, addTypeTemplate, normalizeTemplate, updateTemplates, writeTypes } from './template'
|
2024-07-03 16:46:42 +00:00
|
|
|
export { logger, useLogger } from './logger'
|
2021-04-02 11:47:01 +00:00
|
|
|
|
2021-11-21 16:14:46 +00:00
|
|
|
// Internal Utils
|
2024-07-04 09:04:10 +00:00
|
|
|
export { resolveModule, tryResolveModule, importModule, tryImportModule, requireModule, tryRequireModule } from './internal/esm'
|
2024-07-03 22:02:05 +00:00
|
|
|
export type { ImportModuleOptions, ResolveModuleOptions } from './internal/esm'
|