They Just Fixed VUE ROUTER

They Just Fixed VUE ROUTER

LearnVue

10 месяцев назад

30,748 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

DragonSlayer
DragonSlayer - 11.10.2023 08:03

Because the samosa crack has been removed from the v vase which previously was a real bowl wine glass
Now the router bit can etch anything on any flat piece of wood 😂

Ответить
yossef alatter
yossef alatter - 25.09.2023 15:00

vue-router/auto give me an error

Ответить
A I Z E N
A I Z E N - 25.08.2023 18:18

Just use N....

Ответить
Matthew Pulis
Matthew Pulis - 21.08.2023 02:22

Anyone else getting Cannot find module 'vue-router/auto'

Ответить
Olatunji Olakunle
Olatunji Olakunle - 28.07.2023 08:29

Always a banger as usual, thank you learnvue for the info.

Ответить
Edward Rodriguez
Edward Rodriguez - 25.07.2023 13:46

This looks amazing BUT use special characters on filenames is not good idea in my opinion.

Ответить
Camilo Sexto
Camilo Sexto - 25.07.2023 08:51

Dynamic import seems like a better solution. I've never been a fan file base routing

Ответить
Michael Harris
Michael Harris - 24.07.2023 13:08

I can definitely see this devolving into an unmaintainable shit show.

Ответить
Virgiliu Stancu
Virgiliu Stancu - 24.07.2023 03:38

No, thanks.... don't think is an advancement.

Ответить
MagareLosho
MagareLosho - 22.07.2023 15:06

How do you use the same component for different routes? Wrappers?

Ответить
Brandon
Brandon - 21.07.2023 18:09

⚠️ This package is still experimental.

Ответить
Hans Maulwurf
Hans Maulwurf - 21.07.2023 13:00

If you really hate someone, teach them to recognize bad kerning

Ответить
ZyncInteractive
ZyncInteractive - 21.07.2023 06:17

Such a great addition! Soo good to see you back making videos again too.

Ответить
Chad MacLean
Chad MacLean - 20.07.2023 22:43

This is awesome! Hey what IDE are you using?

Ответить
Alan
Alan - 20.07.2023 20:17

WTH I am never leaving the vue space.

Ответить
KorigamiK
KorigamiK - 20.07.2023 17:22

What is your editor theme?

Ответить
Gabriel Serejo
Gabriel Serejo - 20.07.2023 11:25

Finally! Thank you for posting, i was missing your videos

Ответить
Danny
Danny - 19.07.2023 18:27

Can you tell my if I can use this plug-in without typescript? I just started coding about 4 monts ago, front-end developer course, and I used vue router for the first time with my latest project. I don't use ts but can I still ues the new router plug-in? I think my last comment disappeared

Ответить
Sebastian de Rien
Sebastian de Rien - 19.07.2023 14:33

I don't know.
This looks quite nice if you have some simple routes.
But I kinda can't imagine using this on complex routes with params and meta on large projects.
I would maybe prefer the other way around an IDE add-on that generates a nice overview from a route file.
Anyway thanks for the video.

Ответить
Iqbal Tawakkal
Iqbal Tawakkal - 19.07.2023 06:30

the trade-off would be when writing guard, auth related, defining meta. because the route attribute (meta, name, etc.) is all over the place instead of in 1 file.

Ответить
Desdevol
Desdevol - 19.07.2023 05:44

The syntax in file name scares me. Honestly I would personally prefer the traditional vue routing approach

Ответить
Milos Dimitrijevic
Milos Dimitrijevic - 19.07.2023 01:47

Already mentioned that Nuxt is probably the best way to go, but if you are "stuck" with Vue only, this is a great tool. Maybe I missed it in the video, but it's important to not that unplugin-vue-router is developed by Eduardo (posva), the same person who is the creator of vue-router

Ответить
SALAH IDDINE DIOURI
SALAH IDDINE DIOURI - 18.07.2023 22:02

This is really really great , useful , thank you for sharing it and thank you for your great video/content

Ответить
kirbbyTV
kirbbyTV - 18.07.2023 21:52

Your videos are always amazing, short, concise and full of practical knowledge

Ответить
Raphael DDL
Raphael DDL - 18.07.2023 21:38

just use nuxt fr fr

Does nuxt uses this under the hood or is that a port of what Nuxt did to 'non-nuxt' envs?

Ответить
Jan Smrz
Jan Smrz - 18.07.2023 20:03

We get rid of file based routing circa 2006.... please don't bring that shit back!

Ответить
notKamui
notKamui - 18.07.2023 19:55

Honestly, even for single page apps I use Nuxt now. You can setup Nuxt to statically generate your app with the `ssr: false` property, and using `nuxt generate` instead of `nuxt build`.

The plugin system, autoimports, etc, are all achievable with different Vue plugins, but it's just so nice that it just works out of the box with Nuxt.

Ответить
Allan
Allan - 18.07.2023 19:06

My one and only Vue content creator. My feed is usually packed with React. Which is kinda sad because I don't even know React.

Ответить
Mehmet Arif ÇELİK
Mehmet Arif ÇELİK - 18.07.2023 18:28

how about layouts ?

Ответить
Ricko
Ricko - 18.07.2023 17:32

nuxt who?

Ответить
Mathieu
Mathieu - 18.07.2023 17:11

What i love about current usage is using the name of the route so i don't Care what's the URL is

Ответить
Eric Hutchinson
Eric Hutchinson - 18.07.2023 16:47

File based routing is NOT always the appropriate answer.

For more complex apps with reusable components and tabbed architectures, you likely still want whatever.routes.ts files. Being able to just pass metadata helps. It avoids writing wrapper components around a reusable component.

Ответить
Caio Vinicius
Caio Vinicius - 18.07.2023 16:46

Ty for the video! Very good news!

Ответить
Zeldri
Zeldri - 18.07.2023 16:34

Is it possible to have typesafety with routes but still use router.ts, I don't like file based router, it quickly becomes a mess with lot of routes, your editor is full of opened "index.<insertSuffixHere>", and it makes translations of routes basically impossible 😐

Ответить
Kamal Balayev
Kamal Balayev - 18.07.2023 16:33

Yeeehaaaa :D :D :D

Ответить
단테
단테 - 18.07.2023 16:15

Interesting. the cons of this approach might developer need to learn how file based config works even they don't need SSR.

Ответить
John from tennessee
John from tennessee - 18.07.2023 16:06

One thing I don't understand, what does Nuxt do that Vue + Vite cannot? What's the point with Nuxt? Is it the bleedinge-edge version of Vue where they add all the good features there?

Ответить
Vjacheslav Trushkin
Vjacheslav Trushkin - 18.07.2023 15:45

I was just working with Vue app that used router when you released this video. Immediately switched to unplugin-vue-router and it works perfectly. Switch was painless.

Ответить
Renato C.
Renato C. - 18.07.2023 15:39

Wow, this is INSANE. I always use Nuxt for the file based routing, but I got a new job and they are using Vue for CSR, so this is the perfect solution.
Hat off to the developers and thanks for the content

Ответить
Ibnu
Ibnu - 18.07.2023 15:34

i use Ziggy because fullstack 😭

Ответить
Shulkerkiste
Shulkerkiste - 18.07.2023 15:25

Thanks for your videos!
I want to switch to TypeScript in Vue, but I don't feel comfortable yet. From what I've seen, there are multiple ways to write some TS features in Vue. In addition, the Vue team is also updating some TS features this year. That's why I'm not sure which TS features are best practice. I guess some are still in beta or might get optimized in the next months.
A video would be awesome about how to properly use TypeScript in Vue (with props, emits, computed, watch, ..., all the important stuff).

Ответить
John Smith
John Smith - 18.07.2023 15:14

yes but nuxt....

Ответить
Dominik Ganić
Dominik Ganić - 18.07.2023 15:02

Cool. But I‘ll stick to vite-plugin-pages. See no big reason to switch now..

Ответить