128. Why do we need a Router
Jul 15, 2026 05:26
· 1:16
· English
· Whisper Turbo
· 2 ធុងបាស
អត្ថបទនេះផុតកំណត់នៅថ្ងៃនេះ & # 160; ។
ធ្វើឲ្យប្រសើរសម្រាប់ការផ្ទុកជានិច្ច →
បង្ហាញតែ
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.
អត្ថបទនេះត្រូវបានបង្កើតដោយ AI (ការទទួលស្គាល់ការនិយាយស្វ័យប្រវត្តិ) & # 160; ។ វាអាចមានកំហុស - ពិនិត្យមើលអូឌីយ៉ូដើមសម្រាប់ការប្រើសំខាន់ & # 160; ។ គោលការណ៍ AI
សេចក្ដីសង្ខេប
ចុច សង្ខេប ដើម្បីបង្កើតសេចក្ដីសង្ខេប AI នៃការបកប្រែនេះ & # 160; ។
កំពុងសង្ខេប...
សំណួរ AI អំពីការបកប្រែនេះ
សំណួរអ្វីមួយអំពីការបកប្រែនេះ - AI នឹងរកឃើញផ្នែកដែលទាក់ទងនិងឆ្លើយតប។