Answer the question
In order to leave comments, you need to log in
vue + laravel routing?
Good afternoon
Let's say I'm developing a SPA front on Vue.js using routing, the back will not be written by me on Laravel
I know that laravel also has routing.
How is it divided and connected?
If this is all super trivial, then you can just throw off an sensible article, a resource in Russian. It's hard for me, as a front, who does not yet fully know the logic of interaction with a server in SPA, to understand this(
Answer the question
In order to leave comments, you need to log in
to me as a front
in the case of SPA, the front communicates with the back via API.
and in this case, laravel (and its routing) will be responsible for which methods will process which api requests.
well, routing view allows you to switch between components, remembering the history and displaying the address of the component in the address bar - this is what after #
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question