@ -15,7 +15,6 @@
},
"scripts": {
"dev": "vue-cli-service serve",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
@ -1,6 +1,7 @@
'use strict'
const path = require('path')
const port = process.env.port || process.env.npm_config_port || 4949
const mockUrl = 'http://localhost:82'
function resolve (dir) {
@ -15,7 +16,7 @@ module.exports = {
lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false,
devServer: {
port: 8099,
port: port,
open: true,
overlay: {
warnings: false,