How to deploy and configure vue packaging and PHP backend with the same domain name
小杰2020-12-29 20:16:55
0
3
1564
I use vue as the front-end of the app and php as the back-end, but how to arrange them to access the same domain name without having to access across domain names. For php, thinkphp is used. Please tell me.
Create an index under c. Then put the vue template in v and package it into an index.html template. Resource files are placed in the public. Just press the normal ones in the background
Create an index under c. Then put the vue template in v and package it into an index.html template. Resource files are placed in the public. Just press the normal ones in the background
Configure vue.config.js
Please give me some advice