D
D
Dmitry Baskakov2020-01-26 04:12:10
Vue.js
Dmitry Baskakov, 2020-01-26 04:12:10

How to use vue.js with php if everything works through vue-cli?

How to use vue.js with php if everything works through vue-cli?
I enter vue ui, set up the project, it is created, and what's next? How do I use php so that everything works correctly and correctly? And that in / dist there were these files?
I understand that there should be an API and I can do it, but how and where to place it - that's the question The
question is probably stupid, but I'm not smart either, and for the first time I went so far with Vue.js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Suha, 2020-01-26
@andreysuha

Everything should be correct api. Where to place it doesn't really matter. Usually done as two independent projects. So you can host at least on different servers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question