Explorar o código

添加热更新

tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
651d2508df
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -12,7 +12,8 @@ module.exports = {
   outputDir: 'dist',
   devServer: {
     inline: false,
-    hot: false,
+    hot: true,
+    open: true,
     liveReload: false,
     // 设置代理proxy
     proxy: {