IDE config
This commit is contained in:
parent
7c1d87080a
commit
ed5a8c04bd
|
@ -1,5 +1,6 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
client: {
|
client: {
|
||||||
|
includes: ["web/src/**/*.{js,jsx,ts,tsx,vue,gql}"],
|
||||||
service: {
|
service: {
|
||||||
name: "ifms-pti-srv",
|
name: "ifms-pti-srv",
|
||||||
url: "http://localhost:4000/graphql",
|
url: "http://localhost:4000/graphql",
|
||||||
|
|
18
vetur.config.js
Normal file
18
vetur.config.js
Normal 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
14
web/tsconfig.json
Normal 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"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user