#Nextjs 13 - Link component with external link not working

3 messages · Page 1 of 1 (latest)

narrow forge
#

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

misty hedge
#

Use the Link component for internal links in your app. Use a standard <a> tag for external links.

narrow forge
#

The <a> tag has the same behaviour