I want to use @nuxtjs/i18n npm package in the project created with nuxt3 version. When I import modules in nuxt.config.ts after installing using pnpm, terminal error and @intlify+core-bas package conflict。
steps:
1.pnpm install @nuxtjs/i18n@next –save-dev The version of @nuxtjs/i18n in package.json is “9.0.0-alpha.1”
2.nuxt.config.ts configuration
error image
I tried to change the @nuxtjs/i18n version but it didn’t work. @[email protected] only exists in pnpm.lock.yaml. I hope this resolves dependency conflicts and will allow me to use @nuxtjs/i18n in nuxt projects
yu fu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.