-
-
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
Requiring CSS causes error in default vue-webpack template. Importing them does not. #95
Comments
After thoroughly testing this and fixing the above mentioned issue by installing the missing |
Thank you for your feedback! In the previous test, in the |
Thanks! Since I managed to figure it out, I guess we can close this issue for now. :) |
How did you fix it? |
Please read my first comment:
|
First of all, thank you for this amazing port. I'm not a native chinese speaker so I had to clear the default issue template. :)
This is the error I get when I try to import vue-quill as it is:
I've noticed you used
require
to import the default CSS styles for quill (editor.vue
lines 9-11). At the bottom of theeditor.vue
file there seems to be a <style> attribute already, so what I did is I just imported all of the default quill styles using the default css@import
method instead of usingrequire
. Now I'm curious -- why did you use require in the first place? Is importing them wrong?In any case, it works for me so If you want I can make a pull request with the above mentioned changes?
Thanks!
The text was updated successfully, but these errors were encountered: