@_neronotte/cra-template-dataverse-webresource
Version:
A template to create Dataverse Web Resource projects with Create-React-App
46 lines (40 loc) • 1.08 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Insert here the WebResource title</title>
<link rel="stylesheet"
href="https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/office-ui-fabric-core/11.1.0/css/fabric.min.css"
/>
<style type="text/css">
html,
body {
margin: 0;
padding: 0;
}
/* use viewport-relative units to cover page fully */
body {
height: calc(100svh - 1px);
width: calc(100svw - 1px);
}
/* include border and padding in element width and height */
* {
box-sizing: border-box;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
#root {
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script src="../../../ClientGlobalContext.js.aspx" type="text/javascript" ></script>
</head>
<body class="ms-Fabric ms-bgColor-gray10" dir="ltr">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>