ソースを参照

webpack config

qinyan 1 年間 前
コミット
7afc9a38a2
1 ファイル変更9 行追加0 行削除
  1. 9 0
      vue.config.js

+ 9 - 0
vue.config.js

@@ -16,6 +16,15 @@ module.exports = defineConfig({
   },
   publicPath: publicPath,
   transpileDependencies: true,
+  devServer: {
+    client: {
+      overlay: {
+        errors: true,
+        warnings: false,
+        runtimeErrors: false,
+      },
+    },
+  },
   chainWebpack: (config) => {
     const tsRule = config.module.rule("ts");
     tsRule