#15 - Provide & Inject - Vue 3 (Options API) Tutorial

preview_player
Показать описание
In this Vue 3 tutorial, we learn how to provide data directly to any component downwards in the component tree, with the Provide & Inject APIs.

We cover the following topics:
1. What is Provide & Inject
2. How to provide data to another component
3. How to inject data to another component
4. How to use data in the providing component

_Note that this tutorial is for the Vue 3 Options API (which is similar to Vue 2). We later move on to the Composition API and then the Script Setup (3.2 update)_

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
Рекомендации по теме
Комментарии
Автор

Simple to understand from your video thanks.

Asia_Bangladesh
Автор

Short and concise but script setup is the future

ziad_jkhan
visit shbcf.ru