How to use Nuxt Layers to encapsulate your code

Описание к видео How to use Nuxt Layers to encapsulate your code

🔗 Nuxt Layers are a powerful option to share code across applications or even encapsulate code by feature or DDD-style in projects. But how do they work and how to set them up? Learn all of thati n this video!

Key points:
🔧 How to set up layers
🧠 Understand use cases for them
👀 Building a simple layer architecture from scratch

---

Links:
🔗 Docs - https://nuxt.com/docs/guide/going-fur...
🔗 Code - https://github.com/manniL/alexander-l...
🔗 Layer tracker issue - https://github.com/nuxt/nuxt/issues/1...
🔗 DejaVue - https://dejavue.fm/ - ‪@DejaVueFm‬
📺 My previous talk about Nuxt layers -    • Multi-variant apps with Nuxt 3 by Ale...  ‪@vueschool‬

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:   / thealexlichter  
Twitch:   / thealexlichter  

Chapters:
00:00 Intro
00:39 The problems to solve
04:20 Setting up our demo application
05:36 Looking into the base layer
06:41 The .playground folder
07:52 Make our app extend the base layer
10:03 Overriding files from layers
11:39 Extend multiple layers
13:53 Layer Caveats
15:40 Summary

Комментарии

Информация по комментариям в разработке