Skip to content

Commit

Permalink
docs: update more links to examples repo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jul 5, 2023
1 parent 381e0f8 commit 13a8923
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/3.api/1.composables/use-cookie.md
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/nuxt/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank}
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/examples/tree/main/advanced/use-cookie?terminal=dev&file=app.vue" blank}

## Options

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

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

## Accessing a page's component ref

Expand Down
8 changes: 0 additions & 8 deletions docs/3.api/2.components/4.nuxt-link.md
Expand Up @@ -24,8 +24,6 @@ In this example, we use `<NuxtLink>` component to link to a website.
</template>
```

: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

In this example, we use `<NuxtLink>` component to link to another page of the application.
Expand All @@ -39,8 +37,6 @@ 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/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/pages/index.vue" blank}

### `target` and `rel` Attributes

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

: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

- **to**: Any URL or a [route location object](https://router.vuejs.org/api/interfaces/RouteLocation.html) from Vue Router
Expand Down Expand Up @@ -104,8 +98,6 @@ 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/nuxt/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.ts" blank}

### `defineNuxtLink` Signature

```ts
Expand Down

0 comments on commit 13a8923

Please sign in to comment.