module-builder icon indicating copy to clipboard operation
module-builder copied to clipboard

What is the correct configuration for tsconfig.json?

Open cesxhin opened this issue 4 months ago • 0 comments

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.

cesxhin avatar Sep 10 '25 10:09 cesxhin