-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
vue-quill-editor with nuxt 3 #468
Comments
I have same issue. |
+1 |
same |
help please |
1 similar comment
help please |
I solved it. |
You can use options api rather than composition. Here my code and this work either use ssr or csr. <script>
import { QuillEditor } from '@vueup/vue-quill';
import '@vueup/vue-quill/dist/vue-quill.snow.css';
export default {
components: {
QuillEditor
},
}
</script> Don't forget to register your component if you'are using options api, and wrap the component with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't get it to work in any way vue-quill-editor with nuxt 3.
Maybe there is some solution?
Code:
import { defineNuxtPlugin } from '#app'
import VueQuillEditor from 'vue-quill-editor'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueQuillEditor)
})
I am Example
', ....... other options and mounted()...... Errors: 1) in the browser: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'quill') 2) in node js Failed to resolve component: quill-editor If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.The text was updated successfully, but these errors were encountered: