Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Advanced Components: Exposing Internal State

Use defineExpose with Script Setup thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Use defineExpose with Script Setup

In this lesson, learn how to expose a component's internal state using the defineExpose method from Vue. This part is going to focus on how to do this using script setup.