From 32cb06b6295a45ed23c387a1d2a0f6919e5f5af9 Mon Sep 17 00:00:00 2001 From: Charlie Joseph Date: Tue, 24 May 2022 15:09:48 +0100 Subject: [PATCH] docs: fix nuxt app guide linking to a 404 page (#5122) --- docs/content/2.guide/6.going-further/6.nuxt-app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/2.guide/6.going-further/6.nuxt-app.md b/docs/content/2.guide/6.going-further/6.nuxt-app.md index c742bb2762..cfab81294c 100644 --- a/docs/content/2.guide/6.going-further/6.nuxt-app.md +++ b/docs/content/2.guide/6.going-further/6.nuxt-app.md @@ -15,7 +15,7 @@ function useMyComposable () { } ``` -Plugins also receive `nuxtApp` as the first argument for convenience. [Read more about plugins.](/docs/directory-structure/plugins) +Plugins also receive `nuxtApp` as the first argument for convenience. [Read more about plugins.](/guide/directory-structure/plugins) ::alert{icon=👉} **`useNuxtApp` (on the server) only works during `setup`, inside Nuxt plugins or `Lifecycle Hooks`**. @@ -35,5 +35,5 @@ console.log(nuxtApp.$hello('name')) // Prints "Hello name!" In Nuxt 2 plugins, this was referred to as [inject function](https://nuxtjs.org/docs/directory-structure/plugins#inject-in-root--context). ::alert{icon=👉} -It is possible to inject helpers by returning an object with a `provide` key. See the [plugins documentation](/docs/directory-structure/plugins) for more information. +It is possible to inject helpers by returning an object with a `provide` key. See the [plugins documentation](/guide/directory-structure/plugins) for more information. ::