#Nextjs 13 - Link component with external link not working
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
When using the Link component with an external link to navigate to a website instead of receiving the value in the href prop I get: function link() { [native code] }
Using the a tag is the same result.
Any tips on making external links work with NextJs
Use the Link component for internal links in your app. Use a standard <a> tag for external links.
The <a> tag has the same behaviour