apps/taro/config/index.js
@@ -205,7 +205,7 @@ devServer: { proxy: { '/api': { target: 'http://localhost:57190', // 目标服务器地址 target: 'http://localhost:58190', // 目标服务器地址 changeOrigin: true, }, }, @@ -251,6 +251,10 @@ }) ); chain.toConfig().module.rules.forEach((rule) => { console.log('rule', JSON.stringify(rule)); }); chain.plugin('unplugin-vue-components').use( ComponentsPlugin({ include: [/\.[tj]sx?$/, /\.vue$/, /\.vue\?vue/],