Loading...
Loading...
Error
Oops! Something went wrong
4-define-your-first-pinia-store
Speed
Speed
Quality
Quality
Captions
Captions
media loading
Play
Pause
10
Seek backward
Rewind 10s
Play
Pause
Play
Play
Pause
Pause
20
Seek forward
Forward 20s
Mute
Unmute
Volume High
Volume Low
Volume Low
Mute
Mute
Unmute
0:00
0:00
Start casting
Stop casting
Chapters
Chapters
Pinia's Modular Design vs. Vuex
00:00
Planning Application Stores: Product and Cart
00:41
Creating the Product Store File
00:51
Importing `defineStore` and its Arguments
01:20
Store Naming Conventions and DevTools Integration
01:38
Defining State, Actions, and Getters
02:13
Exporting the Store with 'use' Prefix
02:35
Defining State as a Function
02:56
Understanding 'State' in Pinia
03:16
State vs. Component-Specific Data
03:45
Importing Product Data into State
04:04
Using the Store in App.vue and DevTools
04:45
Next Steps: Populating Product Cards
05:12
Enable captions
Disable captions
Enable Captions
Enable captions
Disable Captions
Disable captions
Settings
Settings
Settings
Enter fullscreen mode
Exit fullscreen mode
Fullscreen
Enter fullscreen
Exit Fullscreen
Exit fullscreen