I am trying to get started with the Quill rich text editor in my Vue 3 Typescript project. I have added the following lines to register the QuillEditor component:
import { QuillEditor } from "@vueup/vue-quill";
import "@vueup/vue-quill/dist/vue-quill.snow.css";
<snip>
export default defineComponent({
name: "dev-ask",
components: {
QuillEditor,
},
<snip>
...and I'm using my component in my page:
<QuillEditor theme="snow" />
However, when I view the page I get an error in the console saying:
quill Cannot import themes/snow. Are you sure it was registered?
The page never renders properly and that's the primary error message I see. What am I doing wrong here? I'm following the usage directions I found here. Thoughts?