mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
npm install will automatically build everything necessary for local development and viewing the examples.
28 lines
581 B
HTML
28 lines
581 B
HTML
<!doctype html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script src="./external/codemirror.js"></script>
|
|
<script src="../dist/iife/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> |