search

Home  >  Q&A  >  body text

How to deploy and configure vue packaging and PHP backend with the same domain name

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.

小杰小杰1459 days ago1569

reply all(3)I'll reply

  • 叶志辉

    叶志辉2021-01-06 10:45:12

    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

    reply
    0
  • 曾师傅

    曾师傅2021-01-05 22:15:33

    Configure vue.config.js

    reply
    0
  • 小杰

    小杰2020-12-29 20:17:23

    Please give me some advice

    reply
    0
  • Cancelreply