forked from stevenjoezhang/live2d-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
22 lines (22 loc) · 828 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Demo</title>
</head>
<body style="padding: 0 max(20px, 20%); overflow-x: hidden;">
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.3.10/pixi.min.js"></script>
<script src="https://live2dwidget.leafyee.xyz/live2d.min.js"></script>
<script src="https://cubism.live2d.com/sdk-web/cubismcore/live2dcubismcore.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pixi-live2d-display/dist/index.min.js"></script>
<script
type="module"
src="./src/client.ts"
id="live2d-widget"
data-tools="hitokoto,switch-model,switch-texture,info,quit"
data-server="/"
defer
></script>
</body>
</html>