如何使用NUXT和VUE I18N在SSR期间修改替代链接
我想修改特定页面的HREF属性(删除查询字符串) 如下所示:
或可能完全删除特定页面的链接元素,
我该如何存档?
I want to modify the href attribute(to remove query string) for specific pages
like screenshot below:
or maybe entirely remove the link element for specific pages
How can I archive that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用NUXT,您只需要指定定义以下链接的
head
函数:恐怕我要手动指定所有语言的所有链接。
With nuxt, you just have to specify a
head
function that defines these links:You'll have to manually specify all the links for all languages I'm afraid.