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

Missing Arrow Icon #85

Open
ynnckth opened this issue Apr 24, 2020 · 0 comments
Open

Missing Arrow Icon #85

ynnckth opened this issue Apr 24, 2020 · 0 comments

Comments

@ynnckth
Copy link

ynnckth commented Apr 24, 2020

I have a HTML page with some vanilla JS where I want to use json-formatter-js to render an object.

Since I'm not using NPM, I am importing the files from the json-formatter-js/dist folder
(json-formatter.cjs.js, json-formatter.css, json-formatter.esm.js, json-formatter.umd.js).
I am using the dist files from version 2.3.4.

I then import the files into my HTML file with a script import:

<script src="lib/json-formatter/json-formatter.umd.js"></script>

I am using the formatter like:

const formatter = new JSONFormatter(obj);
myElement.appendChild(formatter.render());

It renders the object, however the arrow icons are not displayed correctly. Am I missing an import or something?
Thanks!

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

No branches or pull requests

2 participants