FreeRules, agents & hooks
TypeScript, React and Node.js rules
- 174174 downloads
- 225225 likes
- 237237 saves
- Cursor
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to organize the shared state of a Vue application with Pinia
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install vue-pinia-state-ruleFirst time: connect the CLI with
npx --yes palatekit@latest loginCursor keeps a component's state inside the component, reserves Pinia for state shared across pages or component trees, and creates one setup store per domain in the stores/ folder. Getters stay pure and writes go through actions. The file also covers SSR, persistence and testing.
Mostly picked by
Updated November 2, 2026
You say
“Move the cart state into a shared Pinia store.”

Rule published by PatrickJS under the CC0-1.0 license, delivered in its original version.
Listed unmodified
« vue-pinia-cursorrules-prompt-file » (PatrickJS, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…