NEW Folder Structure in Nuxt 4

NEW Folder Structure in Nuxt 4

19.740 Lượt nghe
NEW Folder Structure in Nuxt 4
📂Nuxt's folder structure is well-known to everyone using the meta framework. But in Nuxt 4, it will be slightly changed. In this video, you'll learn how the change looks like, why the team decided to change the structure and how to easily migrate over. So easy, that it'll be done in just a couple of minutes Don't believe me? Then tune in now! 👀 --- Key points: 4️⃣ Why the new folder structure? ✨ How to migrate to the new folder structure easily ⚙️ What does it improve? ‼️ Migration in the video --- Links: 📺 Migrate to Nuxt 4 NOW?! https://www.youtube.com/watch?v=r4wFKlcJK6c 📺 Dynamic Rendering in Nuxt https://www.youtube.com/watch?v=YLFOynY72sE 📺 A plain SPA with Nuxt! https://www.youtube.com/watch?v=7Lr0QTP1Ro8 📺 Nuxt vs Nitro https://www.youtube.com/watch?v=DkvgJa-X31k 🔗 Modules folder in Nuxt 3 https://nuxt.com/docs/guide/directory-structure/modules 🔗 Migrating to Nuxt 4 Guide (Docs) https://nuxt.com/docs/getting-started/upgrade#migrating-to-nuxt-4 📺 Nuxt Layers Guide https://www.youtube.com/watch?v=fr5yo3aVkfA 📺 @DejaVueFm #013 - The Road to Nuxt 4 (with @danielroe) - https://www.youtube.com/watch?v=VzmCZzx0ElA& Don't forget to hit that "Subscribe" button, ring the notification bell and give a thumbs up! 🌐 Connect further: Website: https://www.lichter.io Twitter/X: https://twitter.com/TheAlexLichter Twitch: https://www.twitch.tv/TheAlexLichter --- Chapters: 00:00 Intro 00:22 Don't be Afraid of the Nuxt 4 Migration 00:44 The new Directory Structure 01:17 Demo App Overview 01:37 Are we on the latest Nuxt Version? 02:03 Opting into Nuxt 4 Changes 02:27 No errors? 02:57 Migrating to the New Structure 03:52 Directory Structure RFC 04:26 Renaming the app folder (srcDir) 05:33 Why having Separate app and server Folders? 07:38 Other top-level folders 08:35 The modules folder 08:57 The layers folder 11:12 Checking the Upgrade Guide 12:00 Existing app folder? 14:07 Imports with the new structure 15:08 Summary