mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-21 07:59:33 +00:00
docs: update stackblitz links (#4510)
This commit is contained in:
parent
28cf9fed28
commit
0c165bb03f
@ -42,7 +42,7 @@ counter.value = counter.value || Math.round(Math.random() * 1000)
|
|||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/use-cookie?terminal=dev" blank}
|
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/composables/use-cookie?terminal=dev&file=app.vue" blank}
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ In this example, we use `<NuxtLink>` component to link to a website.
|
|||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/nuxt-link?terminal=dev" blank}
|
: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}
|
||||||
|
|
||||||
### Internal routing
|
### Internal routing
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ In this example, we use `<NuxtLink>` component to link to another page of the ap
|
|||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/nuxt-link?terminal=dev" blank}
|
: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}
|
||||||
|
|
||||||
### `target` and `rel` attributes
|
### `target` and `rel` attributes
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ In this example, we use `<NuxtLink>` with `target`, `rel`, and `noRel` props.
|
|||||||
</template>
|
</template>
|
||||||
```
|
```
|
||||||
|
|
||||||
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/nuxt-link?terminal=dev" blank}
|
: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}
|
||||||
|
|
||||||
## Props
|
## Props
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ export default defineNuxtLink({
|
|||||||
|
|
||||||
You can then use `<MyNuxtLink />` component as usual with your new defaults.
|
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/nuxt-link-pages?terminal=dev" blank}
|
:button-link[Open on StackBlitz]{href="https://stackblitz.com/github/nuxt/framework/tree/main/examples/routing/nuxt-link?terminal=dev&file=/components/MyNuxtLink.js" blank}
|
||||||
|
|
||||||
### `defineNuxtLink` signature
|
### `defineNuxtLink` signature
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user