Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code showing errors on template tag

Please does anyone know how to resolve this error??

TypeScript intellisense is disabled on template. To enable, configure `"jsx": "preserve"` in the `"compilerOptions"` property of tsconfig or jsconfig. To disable this prompt instead, configure `"experimentalDisableTemplateSupport": true` in `"vueCompilerOptions"` property.volar
like image 288
Labaks. Avatar asked Jul 09 '26 11:07

Labaks.


1 Answers

in jsconfig.json

    {
  "compilerOptions": {
    "target": "es5",
    "module": "esnext",
    "baseUrl": "./",
    "moduleResolution": "node",
    "paths": {
      "@/*": [
        "src/*"
      ]
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost"
    ],
    "jsx": "preserve"
  }
}

write --> "jsx": "preserve"

like image 50
Xploit Avatar answered Jul 13 '26 11:07

Xploit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!