We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7c585 commit 74b6bb8Copy full SHA for 74b6bb8
vue.config.js
@@ -1,13 +1,12 @@
1
'use strict'
2
-require('@babel/register')
+
3
const path = require('path')
4
-const { default: settings } = require('./src/settings.js')
5
-const { name } = settings
6
7
function resolve(dir) {
8
return path.join(__dirname, dir)
9
}
10
+const name = 'vue-element-admin'
11
const port = 9527 // dev port
12
13
// Explanation of each configuration item You can find it in https://cli.vuejs.org/config/
@@ -42,6 +41,7 @@ module.exports = {
42
41
43
},
44
after(app) {
+ require('@babel/register')
45
const bodyParser = require('body-parser')
46
47
// parse app.body
0 commit comments