阅读器版本
This commit is contained in:
@@ -2,9 +2,12 @@ const { defineConfig } = require('@vue/cli-service')
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true
|
||||
})
|
||||
console.log('加载自定义配置...'); // 启动时会在终端输出这句话
|
||||
|
||||
module.exports = {
|
||||
devServer: {
|
||||
port: 10022, // 自定义端口号(例如8088,可根据需要修改)
|
||||
open: true, // 可选:启动后自动打开浏览器
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://youneed.top:10017',
|
||||
|
||||
Reference in New Issue
Block a user