-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of @nuxtjs/prismic with nuxt-i18n #90
Comments
Hey @aceol, sorry for the late answer, have you tried excluding modules: [
[
'nuxt-i18n',
{
parsePages: true,
pages: {
about: {
'fr-fr': '/a-propos',
'en-gb': '/about'
},
preview: false
}
}
],
/* ... */
} |
Closing since inactive, feel free to reopen if needed~ |
@lihbr I just encountered this issue as well while using
Adding {
"i18n": {
"parsePages": false,
"pages": {
"preview": false
}
}
} To remove the warning, would it possible to add https://i18n.nuxtjs.org/ignoring-localized-routes/#disable-localized-routes |
Very nice catch! Didn't know about this option. Published in 1.4.2 |
In the newer version of nuxt-18n, the url of the pages can be internationalized in the nuxt.config.js
If I miss
parsePage: false
it is yelling because it can't find preview.vue generated by @nuxtjs/prismic.But I need
parsePage: true
, because the pages name can also be specified in the page fileAny advice on how to achieve that?
The text was updated successfully, but these errors were encountered: