-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Help] About Vuex modules with typescript #6
Comments
I upload them to github already: |
@ibwei |
|
@ibwei 现在没有更好的实现方式,因为子module的类型对于父module来说,是dynamic的,vuex5会解决这个问题。具体可以看上个评论的视频。 |
我自己写了一个解决方案,完美支持composition API 和 typescript,有兴趣可以看看: |
First of all, this is a amazing project which help me a lot.
But I have some trouble with
Vuex in Typescript
.This is my
// store/about.ts
:And my project directory like this:
In the above example, There are
other modules
under theabout module
.But TypeScript Can not Identify the type correctly.
I tried to solve this problem, but still don’t know what to do. Can you provide some help for this ?
Thanks a lot!
The text was updated successfully, but these errors were encountered: