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)
|
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/nitro.ts)
|
||||||
|
|
||||||
- `addServerHandler (handler)`
|
### `addServerHandler (handler)`
|
||||||
- `addDevServerHandler (handler)`
|
|
||||||
- `useNitro()` (only usable after `ready` hook)
|
### `addDevServerHandler (handler)`
|
||||||
- `addServerPlugin`
|
|
||||||
- `addPrerenderRoutes`
|
### `useNitro()` (only usable after `ready` hook)
|
||||||
|
|
||||||
|
### `addServerPlugin`
|
||||||
|
|
||||||
|
### `addPrerenderRoutes`
|
||||||
|
|
||||||
## Resolving
|
## Resolving
|
||||||
|
|
||||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts)
|
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts)
|
||||||
|
|
||||||
- `resolvePath (path, resolveOptions?)`
|
### `resolvePath (path, resolveOptions?)`
|
||||||
- `resolveAlias (path, aliases?)`
|
|
||||||
- `findPath (paths, resolveOptions?)`
|
### `resolveAlias (path, aliases?)`
|
||||||
- `createResolver (base)`
|
|
||||||
|
### `findPath (paths, resolveOptions?)`
|
||||||
|
|
||||||
|
### `createResolver (base)`
|
||||||
|
|
||||||
## Logging
|
## Logging
|
||||||
|
|
||||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts)
|
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts)
|
||||||
|
|
||||||
- `useLogger(scope?)`
|
### `useLogger(scope?)`
|
||||||
|
|
||||||
## Builder
|
## Builder
|
||||||
|
|
||||||
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts)
|
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts)
|
||||||
|
|
||||||
- `extendWebpackConfig(callback, options?)`
|
### `extendWebpackConfig(callback, options?)`
|
||||||
- `extendViteConfig(callback, options?)`
|
|
||||||
- `addWebpackPlugin(webpackPlugin, options?)`
|
### `extendViteConfig(callback, options?)`
|
||||||
- `addVitePlugin(vitePlugin, options?)`
|
|
||||||
|
### `addWebpackPlugin(webpackPlugin, options?)`
|
||||||
|
|
||||||
|
### `addVitePlugin(vitePlugin, options?)`
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user