Skip to content
SkilVault
Sign inGet started

pinia-store-cookbook

Web Frontend
Signed by SkilVault

Guide to building, consuming, composing, extending, and testing Pinia stores in Vue and Nuxt apps. Covers Option and Setup store syntax, typed state, getters, async actions, storeToRefs with the Options API mapping helpers, patching, subscriptions, action hooks, cross-store composition, VueUse composables inside stores, plugins with custom options, SSR with hydration, Nuxt wiring, hot module replacement, and unit and component testing, including a mandatory human-confirmation step around network calls and persistent-storage writes. Use when a task imports from the pinia package, adds shared state to a Vue or Nuxt project, reviews store architecture, or debugs reactivity lost while destructuring a store. Not for Vuex migration, other state libraries, or Vue work unrelated to stores.

Version
v1.0.0
Size
25 KB
Updated
2026-10-06
$ skilvault read --manual pinia-store-cookbook

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.