forked from webaverse/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor.html
More file actions
35 lines (35 loc) · 1.5 KB
/
Copy patheditor.html
File metadata and controls
35 lines (35 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html>
<head>
<link rel=stylesheet href="editor.css">
<link rel=stylesheet href="https://codemirror.net/lib/codemirror.css">
<link rel=stylesheet href="https://codemirror.net/theme/material.css">
<script type="importmap">
{
"imports": {
"three": "https://lib.webaverse.com/three.js",
"BufferGeometryUtils": "https://lib.webaverse.com/BufferGeometryUtils.js",
"GLTFLoader": "https://lib.webaverse.com/GLTFLoader.js",
"GLTFExporter": "https://lib.webaverse.com/GLTFExporter.js",
"OrbitControls": "https://lib.webaverse.com/OrbitControls.js",
"VOXLoader": "https://lib.webaverse.com/VOXLoader.js",
"react": "https://lib.webaverse.com/react.js",
"react-dom": "https://lib.webaverse.com/react-dom.js",
"@react-three/fiber": "https://lib.webaverse.com/react-three-fiber.js",
"@babel/standalone": "https://lib.webaverse.com/babel-standalone.js",
"jszip": "https://lib.webaverse.com/jszip.js",
"html-render": "./html-render/html-render-api.js"
}
}
</script>
<script src="./bin/geometry.js"></script>
</head>
<body>
<div id=container class=container></div>
<script src="https://codemirror.net/lib/codemirror.js"></script>
<script src="https://codemirror.net/mode/javascript/javascript.js"></script>
<script src="https://codemirror.net/addon/selection/active-line.js"></script>
<script src="https://codemirror.net/addon/edit/matchbrackets.js"></script>
<script src="editor.js" type=module></script>
</body>
</html>