merge master

This commit is contained in:
Pan
2019-04-16 15:49:12 +08:00
117 changed files with 731 additions and 444 deletions

View File

@@ -1,12 +1,12 @@
'use strict'
const path = require('path')
const pkg = require('./package.json')
const defaultSettings = require('./src/settings.js')
function resolve(dir) {
return path.join(__dirname, dir)
}
const name = pkg.name || 'vue-element-admin' // page title
const name = defaultSettings.title || 'vue Element Admin' // page title
const port = 9527 // dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
@@ -86,6 +86,7 @@ module.exports = {
.end()
config
// https://webpack.js.org/configuration/devtool/#development
.when(process.env.NODE_ENV === 'development',
config => config.devtool('cheap-source-map')
)