Skip to content

Instantly share code, notes, and snippets.

@afs
Created November 12, 2021 10:32
Show Gist options
  • Save afs/a87790dc6414cef1bc86ae48acc20bf1 to your computer and use it in GitHub Desktop.
Save afs/a87790dc6414cef1bc86ae48acc20bf1 to your computer and use it in GitHub Desktop.
Minimal HTML page to load yasgui.
<html>
<head>
<link href="https://unpkg.com/@triply/yasgui/build/yasgui.min.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/@triply/yasgui/build/yasgui.min.js"></script>
</head>
<body>
<h1>Browser</h1>
<div id="yasgui"></div>
<script>
const yasgui = new Yasgui(document.getElementById("yasgui"), {
requestConfig: { endpoint: "http://localhost:3030/ds" } ,
copyEndpointOnNewTab: false
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment