12345678910111213141516171819 |
- const { defineConfig } = require("@vue/cli-service");
- module.exports = defineConfig({
- transpileDependencies: true,
- // transpileDependencies: ['screenfull']
- devServer: {
- proxy: {
- "/api": {
- target: "http://localhost:3000",
- changeOrigin: true,
- pathRewrite: {
- "/api": "",
- },
- },
- },
- },
- configureWebpack:{
- devtool:"source-map"
- }
- });
|