示例工程 22-umd-transition

22-umd-transition/02-export-as-namespace/index.html

html · 0.4 KB

运行:22 · export-as-namespace

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>22 · export-as-namespace</title>
</head>
<body>
<p>本示例没有运行时输出;类型测试通过即成功。</p>
<script type="module">
  import { run } from './dist/main.js';
  run();
</script>
</body>
</html>