最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Navigation using <Link> in Next.js PWA works on desktop but not on mobile - Stack Overflow

programmeradmin1浏览0评论

I have created a PWA application using Next.js (v15.1.6) and Next-PWA (v5.6.0). In my navigation, I am using the following code to create a link to the About page:

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

This navigation works fine on desktop screens (above 768px), but on mobile screens, it doesn't seem to work at all. I have checked the responsive behavior and it appears to be an issue with how it's rendering on smaller screens like when i installed in my mobile phone time also its not working.

Can anyone help me figure out why the navigation isn't working on mobile?

发布评论

评论列表(0)

  1. 暂无评论