npm stream-http
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
publicPath: "./",
configureWebpack() {
return {
resolve: {
fallback: {
http: require.resolve("stream-http"),
},
},
}
},
}
npm run serve
点击加入编程群Java编程