Closed LXCGH closed 2 years ago
vue.config.js: config.plugin("provide").use(webpack.ProvidePlugin, [ { "window.Quill": "quill/dist/quill.js", Quill: "quill/dist/quill.js", }, ]);
main.js: import VueQuillEditor, { Quill } from 'vue-quill-editor' import { ImageResize } from 'quill-image-resize-module' Quill.register('modules/imageResize', ImageResize)
Why did I report a mistake when I used it this way?
I have a problem with my writing
vue.config.js: config.plugin("provide").use(webpack.ProvidePlugin, [ { "window.Quill": "quill/dist/quill.js", Quill: "quill/dist/quill.js", }, ]);
main.js: import VueQuillEditor, { Quill } from 'vue-quill-editor' import { ImageResize } from 'quill-image-resize-module' Quill.register('modules/imageResize', ImageResize)
Why did I report a mistake when I used it this way?