#52 - Script Setup (Composition API v3.2 syntax) - Vue 3 Tutorial

preview_player
Показать описание
In this Vue 3 tutorial, we learn an easier way to use the Composition API in components with the script setup (The new v3.2 syntax). We cover the lack of config object, how to use components, props and events and event data.

We cover the following topics:
1. What is the Script Setup?
2. How to use components with the Script Setup
3. How to use props with the Script Setup
4. How to send events and data with the Script Setup
5. How to use top-level await with the Script Setup

This lesson is also available in written format

Check out the Vue 3 for Beginners playlist for more Vue tutorial videos

Subscribe to the channel and never miss a lesson

Visit the website for a wide range of programming tutorials
Рекомендации по теме
Комментарии
Автор

Easy to understand each video. Keep it up. Thank you for creating vue course

worldofinternet
Автор

You don’t need to use props.firstname in the template, you can use directly firstname

DatDat
Автор

Content error @2:22 (the example is how to define emits, but the example shows 'const emits = defineProps(['event'])'

johnlangon