From 74b6bb80691da545452e7ec1d5d7cd9708f09e58 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 22 Mar 2019 18:06:42 +0800 Subject: [PATCH] fix chore --- vue.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index 2baef48d..94a9d74c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,13 +1,12 @@ 'use strict' -require('@babel/register') + const path = require('path') -const { default: settings } = require('./src/settings.js') -const { name } = settings function resolve(dir) { return path.join(__dirname, dir) } +const name = 'vue-element-admin' const port = 9527 // dev port // Explanation of each configuration item You can find it in https://cli.vuejs.org/config/ @@ -42,6 +41,7 @@ module.exports = { } }, after(app) { + require('@babel/register') const bodyParser = require('body-parser') // parse app.body