html-to-image icon indicating copy to clipboard operation
html-to-image copied to clipboard

Module '"node_modules/html-to-image/lib/index"' has no default export.

Open mikaspell opened this issue 8 years ago • 7 comments

when i import lib in ts file

mikaspell avatar Oct 17 '18 08:10 mikaspell

The same thing with javascript. It's possible to import separate functions though:

import { toPng } from 'html-to-image';

jokezer avatar Jan 14 '19 05:01 jokezer

Another work around is to use import * as htmltoimage from 'html-to-image'.

athrunsun avatar Apr 06 '19 09:04 athrunsun

readme updated: https://github.com/bubkoo/html-to-image#usage

bubkoo avatar Jun 11 '19 10:06 bubkoo

@mikaspell Check readme.md

bubkoo avatar Jun 11 '19 10:06 bubkoo

Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request.

Thanks for being a part of the Antv community! 💪💯

biiibooo avatar Oct 28 '20 00:10 biiibooo

Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks again for being part of the Antv community! 💪💯

biiibooo avatar Dec 08 '20 00:12 biiibooo

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

biiibooo avatar Dec 08 '21 01:12 biiibooo