Mercurial > gemma
annotate vetur.config.js @ 5341:e434979f6ea6 extented-report
Added configuration files for JS tooling
For further information you may read
https://vuejs.github.io/vetur/guide/setup.html#extensions
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 18 Jun 2021 11:58:43 +0200 |
parents | |
children |
rev | line source |
---|---|
5341
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 // vetur.config.js |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 /** @type {import('vls').VeturConfig} */ |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
3 module.exports = { |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 // **optional** default: `{}` |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
5 // override vscode settings |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
6 // Notice: It only affects the settings used by Vetur. |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
7 settings: { |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
8 "vetur.useWorkspaceDependencies": true, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
9 "vetur.experimental.templateInterpolationService": true, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
10 }, |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
11 // **optional** default: `[{ root: './' }]` |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
12 // support monorepos |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
13 projects: [ |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
14 "./client", // Shorthand for specifying only the project root location |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
15 ], |
e434979f6ea6
Added configuration files for JS tooling
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
16 }; |