Skip to content
Pinia · Lesson 02 of 06 · Builds on Your first store

Setup stores

Write a Pinia store the way you write a component, with refs, computed values and functions, and add the $reset() that setup stores lack.

ref()computed()add()

Check what stuck

Get 2 of 3 right to finish the lesson.
0 / 3