chore: Add loading indicator to index.html
All checks were successful
CI / cache-and-install (push) Successful in 1m33s
All checks were successful
CI / cache-and-install (push) Successful in 1m33s
This commit is contained in:
@ -13,7 +13,9 @@
|
||||
</head>
|
||||
|
||||
<body ontouchstart ontouchend>
|
||||
<div id="app"></div>
|
||||
<div id="app">
|
||||
<div style="display: flex; justify-content: center; align-items: center; height: 100vh">Loading...</div>
|
||||
</div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
<script src="https://fastly.jsdelivr.net/npm/@vant/touch-emulator/dist/index.min.js"></script>
|
||||
<link rel="stylesheet" href="https://fastly.jsdelivr.net/npm/nprogress/nprogress.css" />
|
||||
|
@ -17,6 +17,7 @@ definePage({
|
||||
import type { FunctionalComponent } from 'vue';
|
||||
|
||||
// https://cn.vuejs.org/guide/extras/render-function#typing-functional-components
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const FComponent: FunctionalComponent<{ prop: string }> = (props, context) => (
|
||||
<>
|
||||
<div border="1 solid pink" text="pink">
|
||||
|
Reference in New Issue
Block a user