Skip to content
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

浏览器环境好像用不了 #13

Open
ProjetNice opened this issue Jul 16, 2023 · 4 comments
Open

浏览器环境好像用不了 #13

ProjetNice opened this issue Jul 16, 2023 · 4 comments

Comments

@ProjetNice
Copy link

No description provided.

@ProjetNice
Copy link
Author

能提供更多的解决方法么,在我使用这个库的时候很难装上,在构建的时候总是有很多问题。有群交流或是什么么

@drawcall
Copy link
Owner

Sorry I'm a bit busy, what's the specific problem. I'll check it out

@ProjetNice
Copy link
Author

thinks,I would love to use this library in my browser, but unfortunately I can't install it

@Cherokeeli
Copy link

能提供更多的解决方法么,在我使用这个库的时候很难装上,在构建的时候总是有很多问题。有群交流或是什么么

  1. change import 'canvas' to 'canvas/browser'
image
  1. comment this line in dist/inkpaint.js
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants