Skip to content

Commit 2f4cfa3

Browse files
committed
Get rid of flash of initial vue template
1 parent 30ed77e commit 2f4cfa3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

resources/assets/stylus/app.styl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ $border-radius = .7rem
1212
color-primary = $color-red
1313
@import "./../../../node_modules/milligram-stylus/src/milligram.styl"
1414

15+
[v-cloak]
16+
display: none
17+
1518
html
1619
height: 100%
1720
padding: 0

src/build/app.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,9 @@ img {
562562
.float-right {
563563
float: right;
564564
}
565+
[v-cloak] {
566+
display: none;
567+
}
565568
html {
566569
height: 100%;
567570
padding: 0;

src/log.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div id="app">
1313
<div ref="log"></div>
1414

15-
<div class="container" v-if="!loadingLog && log">
15+
<div class="container" v-if="!loadingLog && log" v-cloak>
1616
<table class="log">
1717
<thead>
1818
<th>day</th>

0 commit comments

Comments
 (0)