Browse Source
Wait for Vue to finish loading before showing HTML
This prevents flashing static HTML elements (icons, modals) on reload.
pull/178/head
Anton Grouchtchak
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
1 deletions
-
src/www/index.html
|
|
@ -11,11 +11,17 @@ |
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes"> |
|
|
|
</head> |
|
|
|
|
|
|
|
<style> |
|
|
|
[v-cloak] { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<body class="bg-gray-50 dark:bg-slate-800"> |
|
|
|
|
|
|
|
<div id="app"> |
|
|
|
|
|
|
|
<div class="container mx-auto max-w-3xl"> |
|
|
|
<div v-cloak class="container mx-auto max-w-3xl"> |
|
|
|
|
|
|
|
<div v-if="authenticated === true"> |
|
|
|
<span v-if="requiresPassword" |
|
|
|