direct-vuex
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "direct-vuex", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Just Vuex with typing. Compatible with the Vue 3 composition API.", | ||
@@ -5,0 +5,0 @@ "author": "Paleo", |
@@ -5,2 +5,4 @@ # direct-vuex | ||
Notice: Direct-vuex provides typed wrappers for the code that _uses_ the store. Not for the implementation of the store itself. | ||
## How to use | ||
@@ -16,3 +18,3 @@ | ||
The store is implemented in the same way as usual (ie. without typing). However, it is necessary to append `as const` at the end of store and module implementation objects. It will help direct-vuex to better infer types. | ||
The store is implemented almost in the same way as usual (ie. without typing). However, **it is necessary to append `as const` at the end of store and module implementation objects**. It will help direct-vuex to better infer types. | ||
@@ -77,6 +79,2 @@ Create the store: | ||
## Limitations | ||
- Actions can't be declared with the object alternative syntax. | ||
## Contribute | ||
@@ -83,0 +81,0 @@ |
23146
82