无需使用锚点<a>?

时间:2019-01-20 14:58:40

标签: javascript next.js

I have put up a small web app with next.js and would like to know from more experienced people if next.js Link component is SEO friendly (google knows how to crawl Link component) without using anchors tags?

1 个答案:

答案 0 :(得分:0)

是的。在幕后,它将是普通的<a>标签。

<Link href="/about">
  <a>about</a>
</Link>

将是

 <a href="/about">about</a>

您可以签入检查器。