@equinor/fusion-framework-cli
Version:
--- title: Fusion Framework CLI ---
37 lines (33 loc) • 940 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fusion Framework Dev Portal</title>
<script>
/**
* When defining a custom element the browser would throw an error if already defined.
* We would like the portal to provide the latest components
*/
const _customElementsDefine = window.customElements.define;
window.customElements.define = (name, cl, conf) => {
if (!customElements.get(name)) {
_customElementsDefine.call(window.customElements, name, cl, conf);
} else {
console.debug(`duplicate registration of ${name}`);
}
};
</script>
<style>
html,
body {
min-height: 100vh;
padding: 0;
margin: 0;
}
</style>
<script type="module" crossorigin src="/assets/index-Cyqq53lr.js"></script>
<body>
<div id="root"></div>
</body>
</html>