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
Use vuetify-dialog plugin with custom components
components should work in dialogs as they do everywhere else
$nuxt is not accessible because vuetify-dialog uses a seperate Vue instance. Because of this for example fetch is not working.
I fixed it by modifying the $nuxt property in index.js:
Object.defineProperty(Vue.prototype, '$nuxt', { get() { return this.$root.$options.$nuxt || window.$nuxt }, configurable: true })
The text was updated successfully, but these errors were encountered:
$root
Successfully merging a pull request may close this issue.
Versions
Steps to reproduce
Use vuetify-dialog plugin with custom components
What is Expected?
components should work in dialogs as they do everywhere else
What is actually happening?
$nuxt is not accessible because vuetify-dialog uses a seperate Vue instance. Because of this for example fetch is not working.
Proposed fix
I fixed it by modifying the $nuxt property in index.js:
The text was updated successfully, but these errors were encountered: