Nuxt Nation 2023 Mighty Bite: Organizing shared utilities in Nuxt 3 by Alexander Lichter (Дата оригинальной публикации:

👐🏻 Utility functions and objects are important when building a Nuxt application. Usually they are separate for the Nitro and Nuxt part, but sometimes you have shared utilities you want to re-use in both... But how? 🌟 In this short Mighty Bite video, we’ll have a look into how we deal with these shared utilities best, while still keeping the capability of auto importing with Alexander Lichter! Key topics we’ll cover: 🔧 Why utils are not auto imported on both sides 🌐 How to explicitly provide shared utils for the server and nuxt part Links: 🔗 Docs: #utils-directory 🔗 Enhancing your auto imports: 🌐 Connect further with Alex: Website: YouTube: @TheAlexLichter Twitter/X: Twitch: #Nuxt3 #Vue #Nuxt #Utils #autoimportgermania Attend largest online Conference for free! The official certification of competence for the Framework Do you want to master Nuxt 3? Mastering Nuxt 3 Course Ready to master the Officially recommended State Management solution for ? Mastering Pinia Course Contact us team@
Back to Top