Use "esm.sh" and import this module into a source file where you need to use routing.
import from "https://esm.sh/@rlmcneary2/weko-routing";
If you are bundling your source code you may need to use a dynamic import
to
load the library like so:
async function main() {
await import("https://esm.sh/@rlmcneary2/weko-routing");
}
The script can also be loaded in an HTML file, typically as part of the <head>
element.
<head>
<script src="https://esm.sh/@rlmcneary2/weko-routing" type="module"></script>
</head>