Vue: Routing For Dummies

preview_player
Показать описание
Working with routes in Vue is easy, but you need to know how it works. In this video we explore how to setup Vue routing and guards and a few other gotchas you should know! #vue #vuejs #vuerouting

👉Check out my last video on Vue 3!

♡ ♡ ♡

MY COURSES -

♡ ♡ ♡

Make Sure To Check These Courses Out On Udemy! 💻

___

Links (and code)

Рекомендации по теме
Комментарии
Автор

This is the cleanest routing solution that I have seen. Thank you for showing an example where routing is separated from other files and is being cleanly called into the main Javascript file.

May you be blessed with many likes and comments :D

markcross
Автор

Hi, thanks for the great video.
Just a small tip: If you're like me or did another tutorial first and initiated your app with default (without router), you can easily add the routing function through the cli with `vue add router` command

benwallach
Автор

Question. should i capitalize route names?, thanks for the video, it s great.

InglesporMinutoconAnthonyMartz
Автор

for those asking for the theme, it's called SynthWave '84

RabeeQiblawi
Автор

ERIK how do I get the lighting bolt less than/greater than

justink
Автор

How did you get neon colors on your code fonts?

jonatanjohansson
Автор

Your videos have helped me tremendously learning Vue Erik, thank you so much for these. Together with the docs it makes it really clear and easy to pick up. In 3 months I went from knowing zero Vue to building a full webapp for my python projects. Keep it up!

adhesiveducks
Автор

Incredible!!! What theme do you use? I love the neon tags!

vanillajs
Автор

Where (which file and life cycle hook) should we install feature module child routes via router.addRoute?

aram
Автор

How can I allow to visit some routes only for authenticated users?

Jel.Awesh.M
Автор

Hey man great video !! But i'm curious what theme you're using on VS Code.

rajandmr
Автор

Can you please tell me how do you automatically compile vue template files and reload the page just when you save changes?

vincenzodefalco
Автор

Thank you Eric, since router is mounted on app component or root, it will show in every views what if I don't want to show in one view but on others?

anandapadmanabhanvt
Автор

Hey im busto is there anyway I can get a coupon for your course?

bobweee
Автор

Newbie here. Does the vue router uses an ajax call in the background and not http, right? It doesn't reload the page?

i_
Автор

As always, a fantastic video. Which VSCode theme are you using? It's quite polished.

gusjaka
Автор

congrats! good content...which theme is it please?

epakadiongo
Автор

My big question (which hopefully you'll address later) is submitting the same form (so the same route) with different query params. Vue-router has some wonky "can't navigate to the same route" error that doesn't detect when query params are changed - but my form values are in query params! What am I supposed to do in that situation?

scott
Автор

Hey great video, how do you glow all your tag element? Very nice

CADDYk
Автор

Man, how do i get the vscode glowing syntax colouring?!?!

apfaust