mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
refactor(docs): add heading to each utility
This commit is contained in:
parent
f38e51daf4
commit
1bc2e22552
@ -2027,35 +2027,45 @@ export default defineNuxtModule({
|
||||
|
||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/nitro.ts)
|
||||
|
||||
- `addServerHandler (handler)`
|
||||
- `addDevServerHandler (handler)`
|
||||
- `useNitro()` (only usable after `ready` hook)
|
||||
- `addServerPlugin`
|
||||
- `addPrerenderRoutes`
|
||||
### `addServerHandler (handler)`
|
||||
|
||||
### `addDevServerHandler (handler)`
|
||||
|
||||
### `useNitro()` (only usable after `ready` hook)
|
||||
|
||||
### `addServerPlugin`
|
||||
|
||||
### `addPrerenderRoutes`
|
||||
|
||||
## Resolving
|
||||
|
||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts)
|
||||
|
||||
- `resolvePath (path, resolveOptions?)`
|
||||
- `resolveAlias (path, aliases?)`
|
||||
- `findPath (paths, resolveOptions?)`
|
||||
- `createResolver (base)`
|
||||
### `resolvePath (path, resolveOptions?)`
|
||||
|
||||
### `resolveAlias (path, aliases?)`
|
||||
|
||||
### `findPath (paths, resolveOptions?)`
|
||||
|
||||
### `createResolver (base)`
|
||||
|
||||
## Logging
|
||||
|
||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts)
|
||||
|
||||
- `useLogger(scope?)`
|
||||
### `useLogger(scope?)`
|
||||
|
||||
## Builder
|
||||
|
||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts)
|
||||
|
||||
- `extendWebpackConfig(callback, options?)`
|
||||
- `extendViteConfig(callback, options?)`
|
||||
- `addWebpackPlugin(webpackPlugin, options?)`
|
||||
- `addVitePlugin(vitePlugin, options?)`
|
||||
### `extendWebpackConfig(callback, options?)`
|
||||
|
||||
### `extendViteConfig(callback, options?)`
|
||||
|
||||
### `addWebpackPlugin(webpackPlugin, options?)`
|
||||
|
||||
### `addVitePlugin(vitePlugin, options?)`
|
||||
|
||||
## Examples
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user