Vue Class Store

Vue Class Store

Universal Vue stores you write once and use anywhere


Description

Universal Vue Stores: Write Once, Use Anywhere

Introducing Vue Class Store

Vue Class Store offers a modern approach to state management in Vue applications:

  • Full reactivity support
  • Computed properties and watchers
  • Flexible usage as local, shared, or global state via provide/inject
  • Operable both inside and outside components without extra setup or boilerplate

Why Choose a Class‑Based Store?

Class-based stores are straightforward to read and write, fully TypeScript‑friendly, and can inherit from base classes—making API configuration simpler than ever.

When to Switch

If you’re dissatisfied with Vuex, or if mapped getters, state, and mutations are making your components fragile, consider trying Vue Class Store. It is compatible with Vue 2, Vue 3, and Nuxt.


Creator

Dave Stewart
@dave_stewart

Related Projects

ScriptShifter

ScriptShifter

Auto-convert Vue Components from Options API to Script Setup

rstore

rstore

Reactive Data Store

Nuxt Auth Sanctum

Nuxt Auth Sanctum

Nuxt Module for Laravel Sanctum Authentication

Nuxt MCP Toolkit

Nuxt MCP Toolkit

Expose your Nuxt App to any LLM

vue.ts

vue.ts

Enhanced TypeScript Support for Vue.js

vue-flow-vis

vue-flow-vis

Vue Reactivity Tracker