IDE config

This commit is contained in:
Douglas Barone 2021-02-09 08:47:34 -04:00
parent 7c1d87080a
commit ed5a8c04bd
3 changed files with 33 additions and 0 deletions

View File

@ -1,5 +1,6 @@
module.exports = {
client: {
includes: ["web/src/**/*.{js,jsx,ts,tsx,vue,gql}"],
service: {
name: "ifms-pti-srv",
url: "http://localhost:4000/graphql",

18
vetur.config.js Normal file
View File

@ -0,0 +1,18 @@
// vetur.config.js
/** @type {import('vls').VeturConfig} */
module.exports = {
settings: {
'vetur.useWorkspaceDependencies': true,
'vetur.experimental.templateInterpolationService': true,
'vetur.validation.interpolation': false
},
projects: [
{
root: './web',
tsconfig: './tsconfig.json',
snippetFolder: './.vscode/vetur/snippets',
globalComponents: ['./src/**/*.vue']
}
]
}

14
web/tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"include": ["./src/**/*.vue"],
"compilerOptions": {
// this aligns with Vue's browser support
"target": "es5",
// this enables stricter inference for data properties on `this`
"strict": true,
// if using webpack 2+ or rollup, to leverage tree shaking:
"module": "es2015",
"moduleResolution": "node",
"types": ["vue-apollo"]
},
"exclude": ["node_modules"]
}