javascript - The front-end uses vue and the back-end uses the php ci framework. How do the front-end and back-end cooperate in development?
天蓬老师
天蓬老师 2017-05-16 13:03:30
0
3
1380

The front-end uses the PHP CI framework used by Vue and the back-end. How to develop the front-end and back-end together?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
伊谢尔伦

According to our practice of conducting more than ten projects, we currently develop API interfaces on the back end, and use json specifications for front-end and back-end interaction.
This is an added interface:

我想大声告诉你

It’s very simple. For the PHP part, just write the interface, request Vue at the front end, and then render it in the template!

習慣沉默

Method 1: The PHP backend provides an API interface (JSON data format), Vue is data-driven, and uses vue-resource to receive data for interaction.

Method 2: Introduce the Vue.js file into the CI view file.

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