Two Things You Need for Script Setup in Vue @LearnVue
Two Things You Need for Script Setup in Vue  @LearnVue
Uploaded February 2022 | Updated September 2026, 1 minute ago
Vue's script setup syntax is a popular choice among developers, but with a big change in the way we write components, there are a few unique compiler macros that bring that old functionality into our new code. In this video, we'll take a look at defineProps and defineEmits.



✅ FREE VUE 3 CHEATSHEET WITH ESSENTIAL CODE SNIPPETS
learnvue.co/vue-3-essentials-cheatsheet

follow me on twitter:

twitter.com/mattmaribojoc


🚨 Like quick Vue lessons like these? Check out 800+ lessons over on Vue School - go.learnvue.co/vueschool

Music by Lukrembo
Two Things You Need for Script Setup in VueDoes Vue v-for really need a key?How to Deploy Your Vite App to Github PagesStop Making This Common Vue MistakeHow I Use Nuxt + Storyblok to Manage ContentVue Conditional Rendering SimplifiedHow to Lazy Load Vue Components in Vue 3
LearnVue |

Two Things You Need for Script Setup in Vue

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER