hungnguyen1501
Why i use installModule nuxtjs/i18n in nuxt module cannot working when use 2 more modules
https://github.com/nuxt-modules/i18n/issues/3193
---
Environment Details
- Operating System: Darwin
- Node Version: v22.0.0
- Nuxt Version: 3.13.2
- CLI Version: 3.15.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Modules & Configurations: - Runtime Modules:
- Node Version: v22.0.0
- Nuxt Version: 3.13.2
- CLI Version: 3.15.0
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Modules & Configurations: - Runtime Modules:
@nuxtjs/[email protected]
- Build Modules: None specified.
---
Steps to Reproduce
Access the reproduction environment on Stackblitz: Stackblitz Project
Bug Description
While configuring nuxtjs/i18n
in module.ts
as per the official documentation, I used the following setup:
In nuxt.config.ts
, when specifying the modules like this:
it works as expected. However, when arranging the modules in other combinations, the functionality breaks as shown below:
- Configuration 1:
- Configuration 2:
Additional Context
I am looking for guidance on achieving the intended configuration or an alternative solution.5 replies