Explorar el Código

:zap: 增加开发模式端口号自定义配置

smallchill hace 7 años
padre
commit
faa89a36ad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vue.config.js

+ 1 - 0
vue.config.js

@@ -22,6 +22,7 @@ module.exports = {
       .end()
   },
   devServer: {
+    port: 1888,
     proxy: {
       '/api': {
         target: 'http://localhost',