T
T
thorii2017-08-21 16:10:43
Backend
thorii, 2017-08-21 16:10:43

Where can I find materials about the connection between nuxt.js and php?

I read a lot of materials about nuxt.js, but I never came across an article about the joint integration of nuxt.js and PHP as a backend. I would like to know how to more correctly pass data from PHP to the compiled nuxt template.
I’m aware of communicating with the backend via ajax api, I would like to immediately insert data from the PHP backend into the template NOT ON THE CLIENT, and I didn’t want to waste time making requests to the PHP API from the Node.js server (after rendering on the node, data is loaded from PHP on cURL, I heard a lot of such advice)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Koch, 2017-08-21
@thorii

Look at this project, and in particular, how the
server handles the api and instead of the nuxt + express bundle, do nuxt + php as an example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question