How to split frontend from backend for single page apps?

This task was faced for the first time. I would like to understand the logic of how to organize a landing page.

There is a flask application on the configured routing. This will be the backend. How do I create a front end c Vue.js for example? Where is the entry point and what is the logic of interaction?
June 14th 19 at 18:30
1 answer
June 14th 19 at 18:32
Solution
Entry point index.html, the rest in vue-router + api
but what about the backend? there I will have to configure Apache? - Akeem93 commented on June 14th 19 at 18:35
the only difference is that the reply server is not html but json.
Nothing is set up, there will be requests to Apache as usual. - amparo_Hickle commented on June 14th 19 at 18:38
Thanks, that's read the thread As interacts flask and the vue-router? but not all right this moment "Maxim Rezvanov: Yes, merge(rewrite) all URLs on index.html except for a single url such as api/. All URLs starting with api/ should be handled flashcom."

This time me and confused - Akeem93 commented on June 14th 19 at 18:41

Find more questions by tags AngularApacheVue.js