diff --git a/docs/3.api/5.kit/2.programmatic.md b/docs/3.api/5.kit/2.programmatic.md index 2c2544bc02..eb3ded8067 100644 --- a/docs/3.api/5.kit/2.programmatic.md +++ b/docs/3.api/5.kit/2.programmatic.md @@ -22,8 +22,6 @@ async function loadNuxt (loadOptions?: LoadNuxtOptions): Promise interface LoadNuxtOptions extends LoadNuxtConfigOptions { dev?: boolean ready?: boolean - rootDir?: string - config?: LoadNuxtConfigOptions['overrides'] } ``` @@ -53,26 +51,6 @@ Loading conditions for Nuxt. `loadNuxt` uses [`c12`](https://github.com/unjs/c12 If set to `true`, Nuxt will be ready to use after the `loadNuxt` call. If set to `false`, you will need to call `nuxt.ready()` to make sure Nuxt is ready to use. -- `rootDir` (optional) - - **Type**: `string` - - **Default**: `null` - - **Deprecated**: Use `cwd` option instead. - - The root directory of the Nuxt project. - -- `config` (optional) - - **Type**: `LoadNuxtConfigOptions['overrides']` - - **Default**: `{}` - - **Deprecated**: Use `overrides` option instead. - - Overrides for the Nuxt configuration. - ## `buildNuxt` Build Nuxt programmatically. It will invoke the builder (currently [@nuxt/vite-builder](https://github.com/nuxt/nuxt/tree/main/packages/vite) or [@nuxt/webpack-builder](https://github.com/nuxt/nuxt/tree/main/packages/webpack)) to bundle the application.