Skip to content
复制代码

需要在网页中引入html-viewer的库。

  1. 引入 html-viewer
html
<script src="https://npm.elemecdn.com/@wenonly/html-viewer/lib/html-viewer.umd.js"></script>
  1. 使用 html-viewer
html
<html-viewer src="https://wenonly.github.io/kit//kit/viewer/examples/html/3D/魔方/index.jsonp.js" />