vue3-yuanma/packages/template-explorer/index.html

28 lines
891 B
HTML
Raw Normal View History

2019-10-05 05:43:20 +08:00
<title>Vue Template Explorer</title>
<link rel="stylesheet" data-name="vs/editor/editor.main" href="https://unpkg.com/monaco-editor@0.18.1/min/vs/editor/editor.main.css">
2019-10-05 05:43:20 +08:00
<link rel="stylesheet" href="./style.css">
2019-10-05 01:08:06 +08:00
2019-10-05 05:43:20 +08:00
<div id="header"></div>
2019-10-05 01:08:06 +08:00
<div id="source" class="editor"></div>
<div id="output" class="editor"></div>
<script src="https://unpkg.com/estree-walker@0.8.1/dist/estree-walker.umd.js"></script>
<script src="https://unpkg.com/source-map@0.6.1/dist/source-map.js"></script>
<script src="https://unpkg.com/monaco-editor@0.18.1/min/vs/loader.js"></script>
2019-10-05 01:08:06 +08:00
<script>
window._deps = {
2019-10-05 05:43:20 +08:00
'estree-walker': estreeWalker,
'source-map': sourceMap
2019-10-05 01:08:06 +08:00
}
require.config({
paths: {
'vs': 'https://unpkg.com/monaco-editor/min/vs'
2019-10-05 01:08:06 +08:00
}
})
</script>
<script src="./dist/template-explorer.global.js"></script>
2019-10-05 01:08:06 +08:00
<script>
require(['vs/editor/editor.main'], init /* injected by build */)
</script>