luoyb
2024-04-06 18b6eb51898598c25c0873c145e7bbec65c048df
vue.config.js
@@ -1,6 +1,7 @@
'use strict'
const settings = require('./src/settings.js')
const path = require('path')
function resolve(dir) {
  return path.join(__dirname, dir)
}
@@ -28,6 +29,7 @@
  devServer: {
    port: port,
    open: false,
    disableHostCheck: true,
    overlay: {
      warnings: false,
      errors: true
@@ -49,6 +51,7 @@
    // provide the app's title in webpack's name field, so that
    // it can be accessed in index.html to inject the correct title.
    name: name,
    devtool: 'source-map',
    resolve: {
      alias: {
        '@': resolve('src')