const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ publicPath: '/', assetsDir: 'static', productionSourceMap: process.env.NODE_ENV !== 'production', devServer: { // host: 'localhost', port: 3005, hot: true // https: false, // proxy: { // '/api': { // target: process.env.VUE_APP_BASE_API, // secure: false, // 是否支持 https,默认 false // changeOrigin: true, // 是否支持跨域 // pathRewrite: { // '^/api': '' // } // } // } }, transpileDependencies: [ 'vuetify' ] })