-
Hi, I am working on a Django project and I want to use react-linear-genome-view in my project. What I used is Django+webpack. I am new to all of these, after several days struggling with webpack, finally, I made a simple react app works in my Django project. But when I want to re-create the example of react-linear-genome-view on my webpage, it is not working. package.json: webpack.config.js:
index.html:
Could anyone help me with this problem? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured this out, sorry I am new to this, in the index.js, the ReactDOM needs to be added: ReactDOM.render(,document.getElementById("linearGenomeView")); |
Beta Was this translation helpful? Give feedback.
I figured this out, sorry I am new to this, in the index.js, the ReactDOM needs to be added:
ReactDOM.render(,document.getElementById("linearGenomeView"));