feat: use custom player module
This commit is contained in:
26
apps/module/spine-ts/player/example/editor.html
Executable file
26
apps/module/spine-ts/player/example/editor.html
Executable file
@@ -0,0 +1,26 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script src="./external/codemirror.js"></script>
|
||||
<script src="../../build/spine-player.js"></script>
|
||||
<link rel="stylesheet" href="../css/spine-player.css">
|
||||
<link rel="stylesheet" href="./external/codemirror.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: gray;
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body>
|
||||
<div id="editor" style="height: 700px;"></div>
|
||||
</body>
|
||||
<script>
|
||||
new spine.SpinePlayerEditor(document.getElementById("editor"));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user