Skip to content

use <a/> or <nuxt-link/> #1388

Answered by rchl
lijx2018github asked this question in Q&A
Discussion options

You must be logged in to vote

For better SEO use

<a :href="localePath('/global/about')" @click.prevent="$router.push(pageRoute)">...</a>

Or just the nuxt-link.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lijx2018github
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #1387 on February 08, 2022 13:03.