feature: change page title when route change (#1910)
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user