Vue 3 Catch All / 404 Route Not Found | Vue-Router Mastery #2

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 23

  • @anujshrestha9731
    @anujshrestha9731 2 ปีที่แล้ว +4

    This is best channel for vue and design tutorials. This content was easy to understand and really helps in real world project. Keep up the good work!!!

    • @JohnKomarnicki
      @JohnKomarnicki  2 ปีที่แล้ว

      I’m really glad to hear that 😀

  • @badasscoder4481
    @badasscoder4481 2 ปีที่แล้ว +2

    Thanks for your awesome Vue Js content. Your channel is big contribution to Vue Ecosystem. React is overtaking since long time. But people like you are helping new kids to learn Vue Js. Sir I appreciate your efforts.

  • @ahmedmatar8739
    @ahmedmatar8739 2 ปีที่แล้ว +2

    you are the best one in this youtube who explains vue

    • @JohnKomarnicki
      @JohnKomarnicki  2 ปีที่แล้ว

      Thank you, Ahmed! I appreciate that

  • @cynthia2968
    @cynthia2968 ปีที่แล้ว +1

    you are my final project savior thanks a lot man

  • @omidrasouli3960
    @omidrasouli3960 2 ปีที่แล้ว

    you are the best man for vue in youtube! keep going man.

  • @dice9519
    @dice9519 2 ปีที่แล้ว

    Thank you Instructor for this video.

  • @willempiekip
    @willempiekip ปีที่แล้ว

    Thanks! Exactly what I needed

  • @srgg67
    @srgg67 ปีที่แล้ว

    Great video, indeed. It saved me a fucking ton of nerves. God bless you, John! :)

  • @АринаБикулова-ц2ф
    @АринаБикулова-ц2ф ปีที่แล้ว

    thank you so much!

  • @alialsaady5
    @alialsaady5 ปีที่แล้ว

    Thanks for this!

  • @caiovinicius7871
    @caiovinicius7871 2 ปีที่แล้ว

    Great video! Im learning Vue and English at same time. Ty bro :D

  • @pitchadiary3893
    @pitchadiary3893 8 หลายเดือนก่อน

    thanks!

  • @mounir101
    @mounir101 2 ปีที่แล้ว

    Love it .. thanks so much.

  • @mrZillion
    @mrZillion 8 หลายเดือนก่อน

    {
    path: '/404',
    name: '404',
    component: NotFoundView,
    meta: {
    bodyId: '404'
    }
    },
    {
    path: '/:notFound(.*)*',
    redirect: '/404'
    }

  • @thejaredwilcurt
    @thejaredwilcurt ปีที่แล้ว

    Whoever thought SLASH PATH MATCH PARENTHESIS DOT ASTERISK PARENTHESIS ASTERISK was a good idea should be banned from coding. Good god, just use a single asterisk. There are apparently 3 magic strings to pick from??? Just provide helper functions instead of this bullshit. Vue-Router used to be good, what happened here was a major design mistake.

  • @Vikingskog
    @Vikingskog 2 ปีที่แล้ว

    Question: If i go to the root url and navigate using the links the routing works fine. However, if im standing on a page, say 'localhost:7120/Settings' and refresh, i get a HTTP ERROR 404. Any idea how to fix this? It does not happen if i use run serve, only with run build. My routes file looks basically the same as yours at 2:00 in this vid

    • @JohnKomarnicki
      @JohnKomarnicki  2 ปีที่แล้ว

      I built this project a while ago, so I’m unsure what my routes looked like, but I think it might be missing a catch all route.
      I created a video on this a whole back that might be helpful
      th-cam.com/video/-N78TlOFj-k/w-d-xo.html