Pinia is integral for a lot of applications. But make sure that you don't make the mistakes shown in the video, or if you do, how to fix them.
---
Links and Resources
🔗 Pinia Docs https://pinia.vuejs.org/
📺 You are using useFetch wrong
https://www.youtube.com/watch?v=njsGVmcWviY
📺 Composition API code organization
https://www.youtube.com/watch?v=iKaDFAxzJyw
📺 @DejaVueFm #E049 - The Fusion of Laravel and Vue (with Aaron Francis) https://share.transistor.fm/s/721e8887
---
Chaptermarks
00:00 Intro
00:45 Demo Application
00:58 Write Setup Stores
01:30 Migrating from Options to Setup Store
04:52 Why migrating?
05:07 Using composables in Pinia Stores
07:15 Organizing your code properly
08:24 Integration with Nuxt
13:05 Wrapping up
---
Music Credits
"Local Forecast - Elevator"
Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/
---
Links marked with * are affiliate links. I get a small commission when you register for the service or buy the product through my link. This helps me keep the channel running. I only include affiliate links for services or products mentioned that we use ourselves or have good experience with.