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.

小杰
小杰

reply all(3)
叶志辉

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template