Skip to content

Commit

Permalink
Change 'NextLink' to 'NuxtLink' (withastro#7664)
Browse files Browse the repository at this point in the history
Co-authored-by: liruifengv <[email protected]>
  • Loading branch information
kakiyo and liruifengv authored Mar 30, 2024
1 parent a47a5f9 commit faa26f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Here are some tips for converting a Nuxt `.vue` component into a `.astro` compon

1. Use the `<template>` of the existing NuxtJS component function as the basis for your HTML template.

2. Change any [Nuxt or Vue syntax to Astro](#reference-convert-nuxtjs-syntax-to-astro) or to HTML web standards. This includes `<NextLink>`, `:class`, `{{variable}}`, and `v-if`, for example.
2. Change any [Nuxt or Vue syntax to Astro](#reference-convert-nuxtjs-syntax-to-astro) or to HTML web standards. This includes `<NuxtLink>`, `:class`, `{{variable}}`, and `v-if`, for example.

3. Move `<script>` JavaScript, into a "code fence" (`---`). Convert your component's data-fetching properties to server-side JavaScript - see [Nuxt data fetching to Astro](#nuxt-data-fetching-to-astro).

Expand Down

0 comments on commit faa26f7

Please sign in to comment.