The front-end uses vue-router to manage routing, but using ajax does not work. How to communicate with PHP?
The front-end uses vue-router to manage routing, but using ajax does not work. How to communicate with PHP?
Look at how your backend is written. .
Vue has vue-resource
which can be used to send requests