From 00037a9ce0f20fa83832805758ba79ab9cf4d69f Mon Sep 17 00:00:00 2001 From: Andrey Yolkin Date: Fri, 28 Jul 2023 17:51:17 +0300 Subject: [PATCH] chore: reorder definition and type --- docs/3.api/4.advanced/2.kit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.api/4.advanced/2.kit.md b/docs/3.api/4.advanced/2.kit.md index cf7a1d3280..8decb2ca9b 100644 --- a/docs/3.api/4.advanced/2.kit.md +++ b/docs/3.api/4.advanced/2.kit.md @@ -16,14 +16,14 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux ### `installModule` +Install specified Nuxt module programmatically. This is helpful when your module depends on other modules. You can pass the module options as an object to `inlineOptions` and they will be passed to the module's `setup` function. + #### Type ```ts async function installModule (moduleToInstall: string | NuxtModule, inlineOptions?: any, nuxt?: Nuxt) ``` -Install specified Nuxt module programmatically. This is helpful when your module depends on other modules. You can pass the module options as an object to `inlineOptions` and they will be passed to the module's `setup` function. - #### Examples ```ts import { defineNuxtModule, installModule } from '@nuxt/kit'