Skip to content

Commit

Permalink
enable vue cloaking
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed May 16, 2017
1 parent 7429f5b commit 82712c6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/neic-styles.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/vue-cloaking.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/bootstrap-3.3.7.min.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/responsive.css" rel="stylesheet">

Expand Down
22 changes: 22 additions & 0 deletions assets/css/vue-cloaking.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* https://gist.github.com/adamwathan/3584d1904e4f4c36096f */

[v-cloak] .v-cloak--block {
display: block;
}
[v-cloak] .v-cloak--inline {
display: inline;
}
[v-cloak] .v-cloak--inlineBlock {
display: inline-block;
}
[v-cloak] .v-cloak--hidden {
display: none;
}
[v-cloak] .v-cloak--invisible {
visibility: hidden;
}
.v-cloak--block,
.v-cloak--inline,
.v-cloak--inlineBlock {
display: none;
}

0 comments on commit 82712c6

Please sign in to comment.