Войти
  • 17950Просмотров
  • 1 год назадОпубликованоMake Apps with Danny

Learn Pinia Setup Stores in 30 MINUTES! (Vue JS 3)

Learn how to get started with Pinia (Setup Stores) in 30 minutes! 👉 Pinia Setup Course (6 modules FREE): 👉 Source Code: Pinia is an incredible State Management library for Vue 3 Composition API apps. In this video I'll show you how to use it to move all of your app's Data, Methods & Computed properties into State, Actions and Getters within a Pinia Setup Store - so that all of these can be used ANYWHERE within your app - in around 30 minutes. ⬇ Chapters: ⬇ 00:00 Introduction 01:42 Getting Started 03:34 Simplify Project 06:30 Counter App - Elements & Styles 07:48 Counter App - Data & Methods 09:48 Counter App - Computed Property 11:44 What is Pinia? 17:20 State 21:14 Actions 23:42 Getters 26:26 Two-Way Data Binding 28:00 Use our Store Everywhere! 29:43 Child Components