A
A
Alexander Rybakov2020-02-15 15:14:42
Laravel
Alexander Rybakov, 2020-02-15 15:14:42

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

3 answer(s)
G
Gleb Starkov, 2020-02-15
@colonel

SPA on Vue and API on Laravel
Truth in English

K
Konstantin B., 2020-02-15
@Kostik_1993

to me as a front

So you are not a front, you are a typesetter. Call everything your things.
But the front you just have to do

A
Antonio Solo, 2020-02-15
@solotony

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 question

Ask a Question

731 491 924 answers to any question