changeset 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 ac1986c23889
children 08dc7e5de1f5
files client/jsconfig.json vetur.config.js
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/jsconfig.json	Fri Jun 18 11:58:43 2021 +0200
@@ -0,0 +1,5 @@
+  {
+    "include": [
+      "./src/**/*"
+    ]
+  }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vetur.config.js	Fri Jun 18 11:58:43 2021 +0200
@@ -0,0 +1,16 @@
+// vetur.config.js
+/** @type {import('vls').VeturConfig} */
+module.exports = {
+  // **optional** default: `{}`
+  // override vscode settings
+  // Notice: It only affects the settings used by Vetur.
+  settings: {
+    "vetur.useWorkspaceDependencies": true,
+    "vetur.experimental.templateInterpolationService": true,
+  },
+  // **optional** default: `[{ root: './' }]`
+  // support monorepos
+  projects: [
+    "./client", // Shorthand for specifying only the project root location
+  ],
+};