index-local.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Node Material Editor - Local Development</title>
  5. <meta name="viewport" content="width=device-width, user-scalable=no">
  6. <link rel="shortcut icon" href="https://www.babylonjs.com/favicon.ico">
  7. <script src="https://code.jquery.com/pep/0.4.2/pep.min.js"></script>
  8. <script src="../../Tools/DevLoader/BabylonLoader.js"></script>
  9. <link rel="stylesheet" href="https://use.typekit.net/cta4xsb.css"></link>
  10. <style>
  11. html,
  12. body {
  13. width: 100%;
  14. height: 100%;
  15. padding: 0;
  16. margin: 0;
  17. overflow: hidden;
  18. }
  19. #host-element {
  20. width: 100%;
  21. height: 100%;
  22. }
  23. </style>
  24. </head>
  25. <body>
  26. <div id="host-element">
  27. </div>
  28. <script>
  29. // Load the scripts + map file to allow vscode debug.
  30. BABYLONDEVTOOLS.Loader
  31. .require("index.js")
  32. .load(() => {
  33. BABYLONDEVTOOLS.Loader.debugShortcut(engine);
  34. });
  35. </script>
  36. </body>
  37. </html>