-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Feature request] Add support for lazy loading modules #68
Comments
They still can be added to the original vuex store… |
@paleo true but could i access them directly or would i need to use magic string? |
@paleo maybe typescript type imports can be used here for optional modules? Edit: Couldn't find information about this feature in newer version of TS so I'm not sure it was continued... Would've been good for this though |
The original Vuex string system would be needed. Maybe a solution could be to implement the runtime part only, without typing. In order to dynamically generate the wrappers after the initialization. But I'm unsure of how it can be useful. Additionally, I don't plan to work on this package except for bug fix. Because the future Vuex 5 will make it obsolete. |
Ouch that is sad to hear for now. While true, Vuex 5 will take a really long time to become mainstream while even vuex 4 is still @next That should be written in Readme |
… but I'll accept pull requests with useful new features. |
Add support for lazy loading vuex modules and adding them to the direct store. Not sure how Typescript would work in those cases or even of its possible, but this would be needed either way
The text was updated successfully, but these errors were encountered: