Back to Browse

Redirects in Nuxt 3

4.4K views
Premiered Aug 2, 2024
16:31

Redirects are essential for web applications, at least at some point when a migration has to happen or SEO should be improved by having more descriptive URLs. #nuxt #vue --- Links and Resources: 🔗 10% Off for vuejs.de Conf with Code LICHTER https://conf.vuejs.de/tickets/?voucher=LICHTER 🔗 Code https://github.com/manniL/alexander-lichter-nuxt-3-redirect-module-diy 📺 @DejaVueFm #E019 - Nuxt Tips you Have to Know https://youtu.be/z8zJxuP52fY?si=QHuMe-RVEAgP8q5H 📺 Caching in Nitro https://youtu.be/KN5e2Hh6uC0 📺 Route Rules in Nuxt https://youtu.be/Fp04Kw4nBE8 --- Chaptermarks 00:00 Intro 00:14 Why do we need redirects? 01:14 Demo application setup 02:45 Static path redirect 03:37 Status codes for redirects 04:53 Wildcard redirects 06:36 Functions in the Nuxt config? 07:20 More complex redirect logic 13:07 Further improvement ideas 14:14 Does the solution work? 14:36 Redirects and SSG? 15:35 Wrapping Up

Download

0 formats

No download links available.

Redirects in Nuxt 3 | NatokHD