Home >Backend Development >PHP Tutorial >vue.js - How to communicate data between VueJS and PHP

vue.js - How to communicate data between VueJS and PHP

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-08-04 09:22:012136browse

The front-end uses vue-router to manage routing, but using ajax does not work. How to communicate with PHP?

Reply content:

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn