-
Notifications
You must be signed in to change notification settings - Fork 13
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
Documentation incorrect? #43
Comments
hi @kevinpapst Thanks for your reporting. codemirror is currently peerDependency. so you must load codemirror before run colorpicker. Show me the sample code and I'll look at it a bit more. |
Ok, so running Could you have a look at the examples in the README.md and explain the complete installation steps for a basic setup? Just to make it a bit easier for a newbie to start using your color picker? I am talking about this line and the following examples: It seems there is something missing, probably And then on the website the examples start with
which doesn't work at all (missing files). If I replace it with
I run into the mentioned compile issues. Probably the mixed examples come from the two distinct npm packages that exist? That is not really explained as well. To wrap it up: your library looks amazing and I know writing documentation sucks, but maybe you could try to look at it from an outside perspective and add the missing points? Maybe it is totally obvious what's missing, but I am a backend developer and the modern frontend stack always feels a bit magical to me 😬 |
I will test it with some bundlers (snowpack, rollup, webpack). I'll let you know when the test is over |
I have a question. Do you use this library on codemirror? |
I don't know what you mean with |
ok, If you want a stand-alone library , you must use https://github.com/easylogic/colorpicker. codemirror-colorpicker is working on codemirror. |
Oh really - what a shame ... sorry 😊 Then let me share my findings, just to let you know what went wrong:
I love your project, don't get me wrong. It is just complicated to get started - really no offense! Just a tiny bit more documentation would be great. Sorry for the noise then, I will give it a try! |
Thanks for the good comment. Let's try to reinforce the document. If you have any features you need, please tell me. |
Hi @easylogic
thanks for this great project, looks very promising!
I am running into an issue, which was reported in the past multiple times, see eg. #24, #28, #29, #32
My problem: I cannot get the color picker up and running, my webpack compile always fails with:
I assume you use it always in a larger context and the complete frontend stack is your normal working environment.
But I am failing currently and wonder if you could have a look at the documentation.
Some of the linked jsfiddles link to a
codemirror.js
file, so I assume I have to require/import more files.Can you give me a hint what to do?
The text was updated successfully, but these errors were encountered: