source code
installModule(module, inlineOptions)
source code
loadNuxt(loadOptions)
buildNuxt(nuxt)
loadNuxtConfig(loadOptions)
source code
checkNuxtCompatibility(constraints)
assertNuxtCompatibility(constraints)
hasNuxtCompatibility(constraints)
isNuxt2()
isNuxt3()
getNuxtVersion()
source code
addImports(imports)
addImportsDir(autoImportDirs)
addImportsSources(autoImportSources)
source code
addComponentsDir(dir)
addComponent(componentObject)
source code
source code
addPlugin(pluginOptions, { append? })
addPluginTemplate(pluginOptions, { append? })
source code
addTemplate(templateOptions)
source code
addServerMiddleware(serverMiddleware)
addServerHandler (handler)
addDevServerHandler (handler)
useNitro()
(only usable after ready
hook)
source code
resolvePath (path, resolveOptions?)
resolveAlias (path, aliases?)
findPath (paths, resolveOptions?)
createResolver (base)
source code
source code
extendWebpackConfig(callback, options?)
extendViteConfig(callback, options?)
addWebpackPlugin(webpackPlugin, options?)
addVitePlugin(vitePlugin, options?)