lidaof / eg-react

WashU Epigenome Browser
https://epigenomegateway.wustl.edu
Other
66 stars 30 forks source link

Error in embedding html #211

Closed shangl02 closed 2 years ago

shangl02 commented 2 years ago

Hi there,

I was following the tutorial to embed the browser into my html page. Unfortunately encountered an error, and no content is showed. (screenshot attached)

"DevTools failed to load source map: Could not load content for https://unpkg.com/ep...@47.2.8/umd/main.79c7bb83.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"

Suggestion are highly appreciated.

Thanks,

Screenshot_1

lidaof commented 2 years ago

Hi @shangl02 , thanks for the interest. I have a working example at https://target.wustl.edu/dli/eg/embed.html, from where you can check the source code of this html file, for necessary files you can also get them from https://target.wustl.edu/dli/eg. Feel free to let me know any further question.

shangl02 commented 2 years ago

Hi @lidaof, thanks a lot for the response. I figured it out. I was trying to add it as an component in my angular project, and made some mistake in importing the js.

Thanks for the help.