index.html 930 B

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta
  6. name="viewport"
  7. content="width=device-width, initial-scale=1, shrink-to-fit=no"
  8. />
  9. <meta name="theme-color" content="#000000" />
  10. <title>React App</title>
  11. <script>
  12. window.name = "codesandbox";
  13. window.EXCALIDRAW_ASSET_PATH = window.origin;
  14. </script>
  15. <link rel="stylesheet" href="/dist/browser/dev/index.css" />
  16. </head>
  17. <body>
  18. <noscript> You need to enable JavaScript to run this app. </noscript>
  19. <div id="root"></div>
  20. <!-- This is so that we use the bundled excalidraw.development.js file instead
  21. of the actual source code -->
  22. <script type="module">
  23. import * as ExcalidrawLib from "@excalidraw/excalidraw";
  24. console.log(ExcalidrawLib);
  25. window.ExcalidrawLib = ExcalidrawLib;
  26. </script>
  27. <script type="module" src="index.tsx"></script>
  28. </body>
  29. </html>