-
This is for UIs that use the Vuex store and class API (ie, `@Getter` and `@Action`).
Investigate/identify:
- whether we can use this library in Vue3
- what is missing to be able to use it (or when it…
-
I can't manage to make it work.
The main issue i think is with the `fieryState` "wrapper", etc.
Here's my code:
```ts
import { Module, VuexModule, Mutation, Action } from "vuex-module-decora…
-
I am using two namespaced modules. In one module I have an action in which I am trying to commit a mutation from the other module. I am getting this error:
```
Error: ERR_ACTION_ACCESS_UNDEFINED: …
-
### Version
最新Rsbuild 版本
chrome浏览器
"vuex-module-decorators": "^0.9.9"
### Details
项目为vue2.7 + vuex + ts的项目,在webpack5上运行正常,
迁移到rsbuild上vuex-module-decorators运行报错,
![Image](https://github.com/u…
-
如题,npm install 命令报错如下:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: vue3-composition-admin@0.1.0
npm ERR! Found: vuex@4.0.2
np…
-
I am using nuxtjs with typescript and use vuex-module-decorators. but I get error when add `@nuxtjs/auth` to my project.
> ERR_STORE_NOT_PROVIDED: To use getModule(), either the module
> should be…
-
```
Uncaught (in promise) Error: ERR_ACTION_ACCESS_UNDEFINED: Are you trying to access this.someMutation() or this.someGetter inside an @Action?
That works only in dynamic modules.
If not dynami…
-
I'm using Vue 3 + Typescript with `vue /cli`, but I'm not getting it to work.
`/store/counter.ts`
```ts
import { Module, VuexModule, Mutation, Action } from 'vuex-module-decorators'
@Module
…
-
could not mock the actions of modules from component in jest.
Please suggest a way to test component that uses vuex modules.
(P.S Vuex modules are made using vuex-module-decorators)
-
### Note
All possible trials to use vuex decorators will be recorded on here.
### Approach 1 (crashes with nuxt [ Reference Error: Cannot access 'store' before initialization ])
`@/store/index.ts…