I noticed that it is not typed correctly and when I do the build it produces a different output than when I open the vscode window which types by itself.
Actual configration tsconfig.json is there:
{
"extends": "./.nuxt/tsconfig.json",
"exclude": [
"dist",
"node_modules",
"playground",
]
}
Updated
When opening a .vue file or restarting the TS server with the Vue Volar plugin, a .vue-global-types folder is created in node_modules, and thanks to its base definitions, typing works completely.
However, when building, I cannot rely on the Vue Volar plugin.
I noticed that it is not typed correctly and when I do the build it produces a different output than when I open the vscode window which types by itself.
Actual configration tsconfig.json is there:
{ "extends": "./.nuxt/tsconfig.json", "exclude": [ "dist", "node_modules", "playground", ] }Updated
When opening a .vue file or restarting the TS server with the Vue Volar plugin, a
.vue-global-typesfolder is created innode_modules, and thanks to its base definitions, typing works completely.However, when building, I cannot rely on the Vue Volar plugin.