Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created October 16, 2023 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save james2doyle/01f5611b09a298fa375f7fe4fdf9c0ec to your computer and use it in GitHub Desktop.
Save james2doyle/01f5611b09a298fa375f7fe4fdf9c0ec to your computer and use it in GitHub Desktop.
A tsconfig file that works with Volar/Vue Language Tools on Vue 2.x projects
{
"compilerOptions": {
"target": "es5",
"module": "es2015",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"sourceMap": true,
"allowJs": true
},
"include": [
"resources/assets/js/**/*.js",
"resources/assets/js/**/*.vue"
],
"exclude": [
"node_modules"
],
"vueCompilerOptions": {
"target": 2.7
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment