Rādīt tikai
0:02
S… Speaker 1 (128. Why do we need a Router)
Attached to this lecture,
0:03
S… Speaker 1 (128. Why do we need a Router)
you find this example project here.
0:05
S… Speaker 1 (128. Why do we need a Router)
Now, on the first look,
0:07
S… Speaker 1 (128. Why do we need a Router)
it might look nice,
0:08
S… Speaker 1 (128. Why do we need a Router)
but it has one fundamental issue.
0:10
S… Speaker 1 (128. Why do we need a Router)
We can't switch the pages here.
0:13
S… Speaker 1 (128. Why do we need a Router)
We get some tabs at the top,
0:15
S… Speaker 1 (128. Why do we need a Router)
but these tabs are not working.
0:17
S… Speaker 1 (128. Why do we need a Router)
And therefore,
0:18
S… Speaker 1 (128. Why do we need a Router)
what we see on this homepage are actually all the components I
0:22
S… Speaker 1 (128. Why do we need a Router)
later want to split up over multiple pages or multiple pages in
0:26
S… Speaker 2 (128. Why do we need a Router)
quotation marks,
0:27
S… Speaker 1 (128. Why do we need a Router)
I should say, in this module.
0:29
S… Speaker 1 (128. Why do we need a Router)
We do have a home,
0:30
S… Speaker 1 (128. Why do we need a Router)
a servers and a users page.
0:32
S… Speaker 1 (128. Why do we need a Router)
And as you can see here,
0:33
S… Speaker 1 (128. Why do we need a Router)
we got users,
0:34
S… Speaker 1 (128. Why do we need a Router)
servers and the homepage on the same page.
0:38
S… Speaker 1 (128. Why do we need a Router)
So that is something we can improve,
0:40
S… Speaker 1 (128. Why do we need a Router)
but it would be nice to have separate pages,
0:43
S… Speaker 1 (128. Why do we need a Router)
as I said.
0:45
S… Speaker 1 (128. Why do we need a Router)
So a slash users page or a slash servers page and so
0:49
S… Speaker 1 (128. Why do we need a Router)
on. So this is what we're going to work in this module.
0:51
S… Speaker 1 (128. Why do we need a Router)
And for this,
0:52
S… Speaker 1 (128. Why do we need a Router)
we need routes.
0:54
S… Speaker 1 (128. Why do we need a Router)
We need the Angular router and the Angular router needs to
0:58
S… Speaker 1 (128. Why do we need a Router)
know.
0:58
S… Speaker 1 (128. Why do we need a Router)
which routes our frontend application has.
1:01
S… Speaker 1 (128. Why do we need a Router)
So you might know this pattern from a full stack application where
1:05
S… Speaker 1 (128. Why do we need a Router)
you also register some routes the user can then visit.
1:08
S… Speaker 1 (128. Why do we need a Router)
We can do the same in Angular and we will do this in the next
1:13
S… Speaker 1 (128. Why do we need a Router)
lecture.

Šis transkripts tika ģenerēts ar AI (automātiskā runas atpazīšana). Var saturēt kļūdas — pārbaudīt pret oriģinālo audio kritiskai lietošanai. AI politika

❤️ Patīk STT.ai? Pastāsti draugiem!
Kopsavilkums
Noklikšķiniet uz Summarize, lai ģenerētu AI šī transkripta kopsavilkumu.
Apkopojot...
Vaicāt AI par šo transkripciju
Jautāt kaut ko par šo stenogrammu — AI atradīs attiecīgās sadaļas un atbildēs.