Pinia
Pinia (pronounced /piːnjʌ/, or "peenya" in English) is a store library and state management framework for Vue.js.[src] Designed primarily for building front-end web applications, it uses declarative syntax and offers its own state management API.[src] Pinia was endorsed by the Vue.js team as a credible alternative to Vuex and is currently the official state management library for Vue.[src]
Pinia (pronounced /piːnjʌ/, or "peenya" in English) is a store library and state management framework for Vue.js.[src] Designed primarily for building front-end web applications, it uses declarative syntax and offers its own state management API.[src] Pinia was endorsed by the Vue.js team as a credible alternative to Vuex and is currently the official state management library for Vue.[src] import { defineStore } from 'pinia' export const useCounterStore = defineStore('counter', { state: () => ({ count: 0 }), getters: { doubleCount: state => state.count * 2 }, actions: { increment(amount) { this.count += amount } } })[src]
7 sentences · 7 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Pinia." encyclopegia.org, 2026, https://encyclopegia.org/wiki/pinia. Accessed 03 December 2026.
Chicago
"Pinia." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/pinia.
APA
encyclopegia.org. (2026). Pinia. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/pinia
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON