mixmark-io / turndown

🛏 An HTML to Markdown converter written in JavaScript
https://mixmark-io.github.io/turndown
MIT License
8.94k stars 881 forks source link

Add specific setup instructions for Vue users #398

Open a-toms opened 3 years ago

a-toms commented 3 years ago
srbala commented 3 years ago

If update to package.json solves the problem, that would be nice. This is PR is documentation update, anyone facing similar issue can resolve from it.

pavelhoral commented 3 years ago

This feels incorrect - the issue in the linked SO question seems to be with RequireJS and not at all connected with VueJS. So maybe you were not using the correct JS file (lib/turndown.browser.umd.js)?

For usage with RequireJS, UMD versions are located in lib/turndown.umd.js (for Node.js) and lib/turndown.browser.umd.js for browser usage.