Closed martio closed 9 months ago
Would you be able to provide a reproduction? π
It started working and I don't know how I did it. It seems to be OK. Sorry for the confusion :confounded:
npx nuxi@latest init nuxt3-test
After creating a new empty Nuxt application, I'm having trouble with TypeScript in "nuxt.config.ts" for "i18n". For object literals, you can only specify known properties, and the "i18n" property does not exist in type "InputConfig<NuxtConfig, ConfigLayerMeta>".
nuxt: 3.10.3, nuxtjs/i18n: 8.1.1
@webcodepl Run the command nuxt prepare
, which will solve the above problem...
Thanks. It works.
Environment
Build Modules: -
Reproduction
Create new an app and installing the latest packages.
Describe the bug
After creating a new Nuxt application and installing the latest packages, I'm having trouble with TypeScript in "nuxt.config.ts" for "i18n". The command "pnpm dlx nuxi prepare" doesn't help. Deleting the ".nuxt" directory doesn't help either. For object literals, you can only specify known properties, and the "i18n" property does not exist in type "InputConfig<NuxtConfig, ConfigLayerMeta>".
Additional context
nuxt: 3.10.2, nuxtjs/i18n: 8.1.1
Updating to edge did not solve the problem.
Logs
No response