Currently the README only provides an example showing how to use the widget when the custom elements are defined via <script> tags pointing to scripts hosted on unpkg.com. This is fine for very simple static pages, but most clients would probably expect to add @geneontology/wc-gocam-viz as a project dependency and then import something from the @geneontology/wc-gocam-viz package in the client code to define the custom components. It's not clear from the existing documentation what that something would be.
Currently the README only provides an example showing how to use the widget when the custom elements are defined via
<script>
tags pointing to scripts hosted onunpkg.com
. This is fine for very simple static pages, but most clients would probably expect to add@geneontology/wc-gocam-viz
as a project dependency and thenimport
something from the@geneontology/wc-gocam-viz
package in the client code to define the custom components. It's not clear from the existing documentation what that something would be.