use vue to complete an app, and the backend does not use a proxy server like nginx, so after the HBuiderX is packaged into app, the request cannot be sent. The configuration of cofig/index.js under vue is as follows:
login.vue
, you can access the interface, but you have to add an address in front of it every time. In this way, the project volume will be large if the interface address is modified. Baidu app does not have the concept of cross-domain request. So do the bosses have any way to solve it?