We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
how to use jquery.json-viewer in react. import xx from 'jquery.json-viewer'?
The text was updated successfully, but these errors were encountered:
Hi,
This jquery plugin is written ES5, there is no module or import system.
You must include the sources in your HTML document:
<html> <head> ... <script src="json-viewer/jquery.json-viewer.js"></script> <link href="json-viewer/jquery.json-viewer.css" type="text/css" rel="stylesheet"> </head>
You need to make sure jQuery is also included in your HTML document.
Sorry, something went wrong.
Isn't it relatively easy to add some integration with module or import?
@mwb-27 I made it connected to ES6 with webpack and scss in this way
js: import 'jquery.json-viewer/json-viewer/jquery.json-viewer'; scss: @import "~jquery.json-viewer/json-viewer/jquery.json-viewer.css";
import 'jquery.json-viewer/json-viewer/jquery.json-viewer';
@import "~jquery.json-viewer/json-viewer/jquery.json-viewer.css";
No branches or pull requests
how to use jquery.json-viewer in react.
import xx from 'jquery.json-viewer'?
The text was updated successfully, but these errors were encountered: