defineXYZ in Vue - What are Compiler Macros?!

defineXYZ in Vue - What are Compiler Macros?!

3.989 Lượt nghe
defineXYZ in Vue - What are Compiler Macros?!
💚 Join Vue.js Amsterdam 2025, 10% off the 3 Day ticket with LICHTER https://lichter.link/vue-ams-25 * Even when not using auto imports, there are some function calls in your Vue SFCs that you don't "need" to import. Why is that? And what makes them special? Find out in this video! #vue #nuxt #pinia --- Links and Resources 🔗 Vue Macros https://vue-macros.dev/ 📺 Auto Imports in Vue and Nuxt https://www.youtube.com/watch?v=YHdDraNNGCk 📺 DejaVue #E015 - Ten Years of Vue.js (with Evan You) https://youtu.be/OG8dvyKLjIM?t=2915 📺 @DejaVueFm #E041 - The Quadruple Migration (with Rijk van Zanten) https://www.youtube.com/watch?v=PGHRy3aNhks --- Chaptermarks 00:00 Intro 00:40 Don't miss Vue.js Amsterdam 01:24 Simple Demo Playground 02:53 Composition API without script setup 04:53 The magic of script setup 05:50 How do we access props and emits? 07:48 The latest compiler macro - defineModel 10:05 More macros?! 12:40 Wrapping up