Closed cainenielsen closed 1 year ago
I solved the issue.
For anyone else coming across this or similar issues. I learned that Nuxt comes shipped with a nuxt prepare
command.
This command generates types based on the Nuxt configuration. These added definitions should fix issues like this.
When creating a new Nuxt project a postinstall
script will be added to package.json
that should run this command after every install. (npm i
)
You can also run the command manually.
See here for more details. https://nuxt.com/docs/api/commands/prepare
I believe I have configured the module correctly, but I am receiving an error from TS. See below.
Related to the
proxy
key not being defined on typeNuxtConfig
.Is this an issue with my project configuration? Is there a step I am missing? Should I attempt to extend
NuxtConfig
?