@nuxtjs/i18n
to ensure localized routes are generated for the added pages.If you're a module author and want your module to add extra pages to your project, you can add these by using the 'pages:extend'
Nuxt hook.
import ExampleModule from './modules/example-module'
export default defineNuxtConfig({
modules: [
ExampleModule, // Register module before `@nuxtjs/i18n`
'@nuxtjs/i18n'
]
})