对于所有页面,我需要区域设置前缀。但是对于个人资料页,我想忽略它。
All pages except profile
/{en|da|sv}/path
Profile page
/peter.hansen我在nuxt-i18n配置选项中选择前缀策略。有什么解决办法吗?
发布于 2022-04-27 13:52:54
这是一个迟来的答复,但万一有人来看这个。只需通过添加:https://i18n.nuxtjs.org/ignoring-localized-routes
//pages/about.vue
export default {
nuxtI18n: false
}和
//nuxt.config.js
i18n: {
parsePages: false,
pages: {
about: false
}
}https://stackoverflow.com/questions/67870441
复制相似问题