docs: update broken/redirected links (#28739)

This commit is contained in:
Daniel Roe 2024-08-28 13:28:14 +01:00 committed by GitHub
parent 79bb63bdb4
commit d1c40328fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ description: "Nuxt provides a <NuxtPicture> component to handle automatic image
links: links:
- label: Source - label: Source
icon: i-simple-icons-github icon: i-simple-icons-github
to: https://github.com/nuxt/image/blob/main/src/runtime/components/nuxt-picture.ts to: https://github.com/nuxt/image/blob/main/src/runtime/components/NuxtPicture.vue
size: xs size: xs
--- ---

View File

@ -4,7 +4,7 @@ description: "Nuxt provides a <NuxtImg> component to handle automatic image opti
links: links:
- label: Source - label: Source
icon: i-simple-icons-github icon: i-simple-icons-github
to: https://github.com/nuxt/image/blob/main/src/runtime/components/nuxt-img.ts to: https://github.com/nuxt/image/blob/main/src/runtime/components/NuxtImg.vue
size: xs size: xs
--- ---

View File

@ -48,7 +48,7 @@ export default defineUntypedSchema({
* Each handler accepts the following options: * Each handler accepts the following options:
* *
* - handler: The path to the file defining the handler. * - handler: The path to the file defining the handler.
* - route: The route under which the handler is available. This follows the conventions of [radix3](https://github.com/unjs/radix3.) * - route: The route under which the handler is available. This follows the conventions of [rou3](https://github.com/unjs/rou3.)
* - method: The HTTP method of requests that should be handled. * - method: The HTTP method of requests that should be handled.
* - middleware: Specifies whether it is a middleware handler. * - middleware: Specifies whether it is a middleware handler.
* - lazy: Specifies whether to use lazy loading to import the handler. * - lazy: Specifies whether to use lazy loading to import the handler.

View File

@ -116,7 +116,7 @@ export async function buildServer (ctx: ViteBuildContext) {
if (Array.isArray(serverConfig.ssr!.external)) { if (Array.isArray(serverConfig.ssr!.external)) {
serverConfig.ssr!.external.push( serverConfig.ssr!.external.push(
// explicit dependencies we use in our ssr renderer - these can be inlined (if necessary) in the nitro build // explicit dependencies we use in our ssr renderer - these can be inlined (if necessary) in the nitro build
'unhead', '@unhead/ssr', 'unctx', 'h3', 'devalue', '@nuxt/devalue', 'radix3', 'unstorage', 'hookable', 'unhead', '@unhead/ssr', 'unctx', 'h3', 'devalue', '@nuxt/devalue', 'radix3', 'rou3', 'unstorage', 'hookable',
// dependencies we might share with nitro - these can be inlined (if necessary) in the nitro build // dependencies we might share with nitro - these can be inlined (if necessary) in the nitro build
...runtimeDependencies, ...runtimeDependencies,
) )