vuex-module-decorators

Typescript/ES7 Decorators to make Vuex modules a breeze

Get Started →

Typescript classes with strict type safety

Create modules where nothing can go wrong. Compile time type-checking ensures you cannot mutate data not part of module, or access unavailable fields

Decorators for declarative code

Annotate your functions with @Action or @Mutation to automatically turn then into Vuex module methods

Autocomplete for actions and mutations

The shape of modules is fully typed, so you can access action and mutation functions with type-safety and get autocomplete help