We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Docsify does not work with Vue3 because in Vue3 there is no global app. This results in error
Uncaught TypeError: window.Vue is not a constructor
When using Vue3, you have to manually initialize a Vue instance because no default instance is created.
It would also be possible to create a default instance with Vue3 but I need to configure my own instance anyway.
Add an additional condition Vue.version.split(".")[0]<=2 and don't call Vue().$mount if it is false.
Vue.version.split(".")[0]<=2
Vue().$mount
I can provide a pull request if the proposed solution is ok to you.
The text was updated successfully, but these errors were encountered:
Address in #1271. Waiting for review and merge.
Sorry, something went wrong.
@nichtich --
Added in #1271. Updated docs are available here: https://github.com/docsifyjs/docsify/blob/develop/docs/vue.md
Successfully merging a pull request may close this issue.
Feature request
What problem does this feature solve?
Docsify does not work with Vue3 because in Vue3 there is no global app. This results in error
What does the proposed API look like?
When using Vue3, you have to manually initialize a Vue instance because no default instance is created.
It would also be possible to create a default instance with Vue3 but I need to configure my own instance anyway.
How should this be implemented in your opinion?
Add an additional condition
Vue.version.split(".")[0]<=2
and don't callVue().$mount
if it is false.Are you willing to work on this yourself?
I can provide a pull request if the proposed solution is ok to you.
The text was updated successfully, but these errors were encountered: