-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (33 loc) · 1.23 KB
/
index.html
File metadata and controls
35 lines (33 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Buildless Vue 3 app</title>
<script type="importmap">
{
"imports": {
"@vue/compiler-sfc": "https://esm.sh/*@vue/compiler-sfc@3.5.24?dev",
"@vue/reactivity": "https://esm.sh/*@vue/reactivity@3.5.24?dev",
"@vue/runtime-core": "https://esm.sh/*@vue/runtime-core@3.5.24?dev",
"@vue/runtime-dom": "https://esm.sh/*@vue/runtime-dom@3.5.24?dev",
"@vue/shared": "https://esm.sh/*@vue/shared@3.5.24?dev",
"vue": "https://esm.sh/*vue@3.5.24?dev",
"vue/": "https://esm.sh/*vue@3.5.24&dev/"
}
}
</script>
<script type="module">
import { createApp, defineAsyncComponent } from "vue";
import loadModule from "https://esm.sh/@vuebro/loader-sfc@2.3.31?external=vue";
Object.assign(globalThis, {
__VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false,
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false,
});
const App = defineAsyncComponent(() => loadModule("./App.vue"));
createApp(App).mount(document.body);
</script>
</head>
<body></body>
</html>