Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
chore: update internal repo/issue links to usenuxt/nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 19, 2023
1 parent 371bc1a commit 081dc32
Show file tree
Hide file tree
Showing 63 changed files with 104 additions and 105 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Nuxt's goal is to make web development intuitive and performant, with a great de
<p>
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/v/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Version"></a>
<a href="https://www.npmjs.com/package/nuxt"><img src="https://img.shields.io/npm/dm/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
<a href="./LICENSE"><img src="https://img.shields.io/github/license/nuxt/framework.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
<a href="https://volta.net/nuxt/framework?utm_source=nuxt_readme"><img src="https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg" alt="Volta board"></a>
<a href="./LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
<a href="https://volta.net/nuxt/nuxt?utm_source=nuxt_readme"><img src="https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg" alt="Volta board"></a>
</p>

<table>
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Reporting a Vulnerability

To report a vulnerability, please send an email to **[email protected]** or submit it for a bounty via [Huntr](https://huntr.dev/bounties/disclose/?target=https://github.com/nuxt/framework).
To report a vulnerability, please send an email to **[email protected]** or submit it for a bounty via [Huntr](https://huntr.dev/bounties/disclose/?target=https://github.com/nuxt/nuxt).

All security vulnerabilities will be promptly verified and addressed.

Expand Down
8 changes: 4 additions & 4 deletions changelog.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"github": "nuxt/framework",
"scopeMap": {
"nuxt3": "nuxt",
"nuxi": "cli"
"github": "nuxt/nuxt",
"scopeMap": {
"nuxt3": "nuxt",
"nuxi": "cli"
}
}
2 changes: 1 addition & 1 deletion docs/content/0.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ topButtonLink: '/vision-2023'
primaryButtonText: 'Get started'
primaryButtonLink: '/docs/getting-started/introduction'
secondaryButtonText: 'Open on GitHub'
secondaryButtonLink: 'https://github.com/nuxt/framework'
secondaryButtonLink: 'https://github.com/nuxt/nuxt'
---

#title
Expand Down
10 changes: 5 additions & 5 deletions docs/content/1.docs/1.getting-started/1.introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ Discover more about [modules](/docs/guide/concepts/modules).

### Architecture

Nuxt is composed of different [core packages](https://github.com/nuxt/framework/tree/main/packages):
Nuxt is composed of different [core packages](https://github.com/nuxt/nuxt/tree/main/packages):

::list{type=info}
- Core Engine: [nuxt](https://github.com/nuxt/framework/tree/main/packages/nuxt)
- Bundlers: [@nuxt/vite-builder](https://github.com/nuxt/framework/tree/main/packages/vite) and [@nuxt/webpack-builder](https://github.com/nuxt/framework/tree/main/packages/webpack)
- Command line interface: [nuxi](https://github.com/nuxt/framework/tree/main/packages/nuxi)
- Core Engine: [nuxt](https://github.com/nuxt/nuxt/tree/main/packages/nuxt)
- Bundlers: [@nuxt/vite-builder](https://github.com/nuxt/nuxt/tree/main/packages/vite) and [@nuxt/webpack-builder](https://github.com/nuxt/nuxt/tree/main/packages/webpack)
- Command line interface: [nuxi](https://github.com/nuxt/nuxt/tree/main/packages/nuxi)
- Server engine: [nitro](https://github.com/unjs/nitro)
- Development kit: [@nuxt/kit](https://github.com/nuxt/framework/tree/main/packages/kit)
- Development kit: [@nuxt/kit](https://github.com/nuxt/nuxt/tree/main/packages/kit)
- Nuxt 2 Bridge: [@nuxt/bridge](https://github.com/nuxt/bridge)
::

Expand Down
6 changes: 3 additions & 3 deletions docs/content/1.docs/2.guide/3.going-further/1.internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Therefore only one instance of Nuxt is allowed to run per process.

To extend the Nuxt interface and hook into different stages of the build process, we can use [Nuxt Modules](/docs/guide/going-further/modules).

For more details, check out [the source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/core/nuxt.ts).
For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/core/nuxt.ts).

## The NuxtApp Interface

Expand All @@ -43,7 +43,7 @@ const nuxtApp = {
vueApp, // the global Vue application: https://vuejs.org/api/application.html#application-api

// These let you call and add runtime NuxtApp hooks
// https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L18
// https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts#L18
hooks,
hook,
callHook,
Expand All @@ -68,7 +68,7 @@ const nuxtApp = {
}
```

For more details, check out [the source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts).
For more details, check out [the source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts).

## Runtime Context vs. Build Context

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: "Edge channel allows to use latest commits from the repository."

Nuxt 3 is landing commits, improvements, and bug fixes every day. You can opt-in to test them earlier before the next release.

After each commit is merged into the `main` branch of [nuxt/framework](https://github.com/nuxt/framework) and **passing all tests**, we trigger an automated npm release using GitHub Actions publishing Nuxt 3 packages.
After each commit is merged into the `main` branch of [nuxt/nuxt](https://github.com/nuxt/nuxt) and **passing all tests**, we trigger an automated npm release using GitHub Actions publishing Nuxt 3 packages.

You can opt in to use this release channel and avoid waiting for the next release and helping Nuxt by beta testing changes.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/2.guide/3.going-further/3.modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('ssr', async () => {
})
```

For more usage, please refer to our [tests for Nuxt 3 framework](https://github.com/nuxt/framework/blob/main/test/basic.test.ts).
For more usage, please refer to our [tests for Nuxt 3 framework](https://github.com/nuxt/nuxt/blob/main/test/basic.test.ts).

### Mock utils

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/2.guide/3.going-further/7.layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ export default defineNuxtModule({
Configuration loading and extends support is handled by [unjs/c12](https://github.com/unjs/c12), merged using [unjs/defu](https://github.com/unjs/defu) and remote git sources are supported using [unjs/giget](https://github.com/unjs/giget). Check the docs and source code to learn more.
We are working to bring more improvements for layers support. Please refer to [nuxt/framework#3222](https://github.com/nuxt/framework/issues/3222).
We are working to bring more improvements for layers support. Please refer to [nuxt/nuxt#13367](https://github.com/nuxt/nuxt/issues/13367).
2 changes: 1 addition & 1 deletion docs/content/1.docs/3.api/1.composables/use-cookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ counter.value = counter.value || Math.round(Math.random() * 1000)
</script>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank}

## Options

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/3.api/2.components/2.nuxt-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ definePageMeta({
</script>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/pages?file=app.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/pages?file=app.vue" blank}

## Custom Props

Expand Down
8 changes: 4 additions & 4 deletions docs/content/1.docs/3.api/2.components/4.nuxt-link.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In this example, we use `<NuxtLink>` component to link to a website.
</template>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}

### Internal Routing

Expand All @@ -39,7 +39,7 @@ In this example, we use `<NuxtLink>` component to link to another page of the ap
</template>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}

### `target` and `rel` Attributes

Expand Down Expand Up @@ -69,7 +69,7 @@ In this example, we use `<NuxtLink>` with `target`, `rel`, and `noRel` props.
</template>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}

## Props

Expand Down Expand Up @@ -104,7 +104,7 @@ export default defineNuxtLink({

You can then use `<MyNuxtLink />` component as usual with your new defaults.

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.ts" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.ts" blank}

### `defineNuxtLink` Signature

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add `<NuxtLoadingIndicator/>` in your `app.vue` or layouts.
</template>
```

:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/pages?terminal=dev&file=/app.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/nuxt/tree/main/examples/routing/pages?terminal=dev&file=/app.vue" blank}

::alert{type=warning}
If you are changing layouts as well as page, the page transition you set here will not run. Instead, you should set a layout transition.
Expand All @@ -35,5 +35,5 @@ You can pass custom HTML or components through the loading indicator's default s
- **throttle**: Throttle the appearing and hiding, in milliseconds (default `200`).

::alert{type=info icon=🔎}
This component is completely optional. To achieve full customization, you can implement your own one based on [this file](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/components/nuxt-loading-indicator.ts).
This component is completely optional. To achieve full customization, you can implement your own one based on [this file](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/components/nuxt-loading-indicator.ts).
::
8 changes: 4 additions & 4 deletions docs/content/1.docs/3.api/4.advanced/1.hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: Nuxt provides a powerful hooking system to expand almost every aspe

# App Hooks (runtime)

Check the [app source code](https://github.com/nuxt/framework/blob/main/packages/nuxt/src/app/nuxt.ts#L27) for all available hooks.
Check the [app source code](https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/nuxt.ts#L27) for all available hooks.

Hook | Arguments | Environment | Description
-----------------------|---------------------|-----------------|-------------
Expand All @@ -31,13 +31,13 @@ Hook | Arguments | Environment | Description

# Nuxt Hooks (build time)

Check the [schema source code](https://github.com/nuxt/framework/blob/main/packages/schema/src/types/hooks.ts#L53) for all available hooks.
Check the [schema source code](https://github.com/nuxt/nuxt/blob/main/packages/schema/src/types/hooks.ts#L53) for all available hooks.

:NeedContribution

# Nitro App Hooks (runtime, server-side)

Hook | Arguments | Description | Types
-----------------------|-----------------------|--------------------------------------|------------------
`render:response` | `response, { event }` | Called before sending the response. | [response](https://github.com/nuxt/framework/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L24), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38)
`render:html` | `html, { event }` | Called before constructing the HTML. | [html](https://github.com/nuxt/framework/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L15), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38)
`render:response` | `response, { event }` | Called before sending the response. | [response](https://github.com/nuxt/nuxt/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L24), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38)
`render:html` | `html, { event }` | Called before constructing the HTML. | [html](https://github.com/nuxt/nuxt/blob/71ef8bd3ff207fd51c2ca18d5a8c7140476780c7/packages/nuxt/src/core/runtime/nitro/renderer.ts#L15), [event](https://github.com/unjs/h3/blob/f6ceb5581043dc4d8b6eab91e9be4531e0c30f8e/src/types.ts#L38)
26 changes: 13 additions & 13 deletions docs/content/1.docs/3.api/4.advanced/2.kit.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux

### Modules

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/module)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/module)

- `installModule(module, inlineOptions)`

### Programmatic Usage

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/loader)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/loader)

- `loadNuxt(loadOptions)`
- `buildNuxt(nuxt)`
- `loadNuxtConfig(loadOptions)`

### Compatibility

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/compatibility.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/compatibility.ts)

- `checkNuxtCompatibility(constraints)`
- `assertNuxtCompatibility(constraints)`
Expand All @@ -37,48 +37,48 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux

### Auto-imports

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/imports.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/imports.ts)

- `addImports(imports)`
- `addImportsDir(importDirs)`
- `addImportsSources(importSources)`

### Components

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/components.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/components.ts)

- `addComponentsDir(dir)`
- `addComponent(componentObject)`

### Context

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/context.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/context.ts)

- `useNuxt()`

### Pages

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/pages.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/pages.ts)

- `extendPages (callback: pages => void)`

### Plugins

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/plugin.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/plugin.ts)

- `addPlugin(pluginOptions, { append? })`
- `addPluginTemplate(pluginOptions, { append? })`

### Templates

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/template.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/template.ts)

- `addTemplate(templateOptions)`
- `updateTemplates({ filter?: ResolvedNuxtTemplate => boolean })`

### Nitro

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/nitro.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/nitro.ts)

- `addServerHandler (handler)`
- `addDevServerHandler (handler)`
Expand All @@ -88,7 +88,7 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux

### Resolving

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/resolve.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/resolve.ts)

- `resolvePath (path, resolveOptions?)`
- `resolveAlias (path, aliases?)`
Expand All @@ -97,13 +97,13 @@ description: Nuxt Kit provides composable utilities to help interacting with Nux

### Logging

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/logger.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/logger.ts)

- `useLogger(scope?)`

### Builder

[source code](https://github.com/nuxt/framework/blob/main/packages/kit/src/build.ts)
[source code](https://github.com/nuxt/nuxt/blob/main/packages/kit/src/build.ts)

- `extendWebpackConfig(callback, options?)`
- `extendViteConfig(callback, options?)`
Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/0.essentials/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ A minimal Nuxt 3 application only requires the `app.vue` and `nuxt.config.js` fi
::ReadMore{link="/docs/getting-started/introduction"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/essentials/hello-world" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/essentials/hello-world" file="app.vue"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/1.app/app-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ This example shows how to use `app.config` feature.
::ReadMore{link="/docs/guide/features/app-config"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/app-config" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app-config" file="app.vue"}
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/1.app/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ This example shows how to handle errors in different contexts: pages, plugins, c
::ReadMore{link="/docs/getting-started/error-handling"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/error-handling" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/error-handling" file="app.vue"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/1.app/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ This example shows how to use the plugins/ directory to auto-register plugins.
:ReadMore{link="/docs/guide/directory-structure/plugins"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/plugins" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/plugins" file="app.vue"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/1.app/teleport.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ This example shows how to use the `<Teleport>` with client-side and server-side
::ReadMore{link="/docs/api/components/teleports"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/app/teleport" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/app/teleport" file="app.vue"}
::
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Components in the `components/` directory are auto-imported and can be used dire
::ReadMore{link="/docs/guide/directory-structure/components"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/auto-imports/components" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/auto-imports/components" file="app.vue"}
::
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ If the composable file provides a default export, the name of the composable wil
::ReadMore{link="/docs/guide/directory-structure/composables"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/auto-imports/composables" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/auto-imports/composables" file="app.vue"}
::
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Nuxt will automatically read files in the `~/server/api` directory to create API
::ReadMore{link="/docs/getting-started/data-fetching"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-async-data" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-async-data" file="app.vue"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/3.composables/use-cookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ This example shows how to use the useCookie API to persist small amounts of data
::ReadMore{link="/docs/api/composables/use-cookie"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-cookie" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-cookie" file="app.vue"}
::
2 changes: 1 addition & 1 deletion docs/content/1.docs/4.examples/3.composables/use-fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Nuxt will automatically read files in the `~/server/api` directory to create API
::ReadMore{link="/docs/getting-started/data-fetching"}
::

::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-fetch" file="app.vue"}
::sandbox{repo="nuxt/nuxt" branch="main" dir="examples/composables/use-fetch" file="app.vue"}
::
Loading

0 comments on commit 081dc32

Please sign in to comment.