-
1. Use class-based components, not Vue's proprietary data shape that gets passed to Vue.extend. (at least for Vue 2)
2. For Vuex support (types on your action / mutation payloads), use https://gith…
-
Hey,
I'm using nuxt-property-decorator which just exports some stuff of this module. So I'm reporting it here, because i think it's not a question for the nuxt-property-decorator module.
I've create…
-
### Version
"vuex": "^4.1.0"
### Describe the bug
After registering the module dynamically, devtool shows that the state and getters are recomputed, but the getter-related views are not updated.
…
-
### What problem does this feature solve?
With the introduction of inference from template strings in TS 4.1.0 it will finally be possible to make Vuex completely type safe (validating all types, pat…
-
使用
vue-class-component
vue-property-decorator
vuex-module-decorators
等库,改写了份Ts版本的模板
https://github.com/xsxiaosa/d2-admin-start-kit-typescript
-
So in the docs, you can import stores outside a component and create helpers outside of the setup method. How would someone use `useMutation` for example, in a Nuxt plugin?
Say you have a `plugin/s…
-
You could change this line and all similar use functions from:
https://github.com/greenpress/vuex-composition-helpers/blob/1af7716cfa18e32313154d7ba39f5b457b3adfe9/src/namespaced.ts#L84
To be
```ty…
-
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…
-
Is it possible to break modules in
`store/`
- `moduleName.ts`
into
`store/`
|-`moduleName/`
||--`[index.ts, mutations.ts, getters.ts, mutation-types.ts, etc]`
A problem is, when You use [va…
ghost updated
4 years ago
-
Hey Per,
for starters: thanks for the quick feedback loop in my other ticket/PRs :-)
While I was adjusting the PR according to your feedback, I noticed that it's not possible to simply use an u…