-
Notifications
You must be signed in to change notification settings - Fork 187
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
beforeCreateVueInstance can now return a promise #243
Conversation
Allows developer to perform any async calls to init the root vue opts
@karol-f any chance of reviewing this? |
Can You please describe what You want to achieve? What problem does this solution solve? |
I have a very unique use case where I need to fetch some instanced props and initial vuexState during Vue init... so by returning a promise, I can use an ajax call to get what I need from the server |
Ok, so why not making a |
Thats what I did... it can now return the Options or a Promise @karol-f or maybe I misunderstand what you're saying |
@karol-f does that make sense what my plan was? I still don't understand what you are suggesting. |
Hi, I am currently a little busy, I will try to get back to it as soon as possible. |
Hi @karol-f, any chance we could continue this PR? |
@karol-f Can we review this PR again? I updated createVueInstance to return a Promise so I can chain it with the Promise now returned by beforeCreateVueInstance.... |
Hi, thank You for the PR. Sorry for the long wait. It looks good! |
I've copied Your changes (not merging the branch) as some changes (like dist or docs updating) I do during release. I hope it's ok with You. |
Allows developer to perform any async calls to init the root vue opts