把這段代碼寫在一個 html 檔案里,然后用瀏覽器打開,
<!DOCTYPE html>
<html>
<body>
<script src="https://cdn.jsdelivr.net/npm/live2d-widget@3.0.4/lib/L2Dwidget.min.js"></script>
<script type="text/javascript">
L2Dwidget.init();
</script>
</body>
</html>
運行效果圖:

喜歡的點個贊?吧!
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/125104.html
標籤:其他
上一篇:SpringBoot-web開發(三): 模板引擎Thymeleaf
下一篇:前端重要的H標簽詳解(干貨!)
