12345678910111213141516171819202122 |
- const { defineConfig } = require('@vue/cli-service')
- module.exports = defineConfig({
- transpileDependencies: true,
- lintOnSave:false,
- configureWebpack: {
- externals: {
- AMap: 'AMap',
- }
- },
- devServer: {
- proxy: {
- '/api': {
- target: 'http://localhost:6666',
- changeOrigin: true,
- pathRewrite: {
- '^/api': ''
- }
- }
- }
- }
- })
|