Browse Source

avoid flashing

lesion 5 years ago
parent
commit
8f82ecb19f
2 changed files with 5 additions and 1 deletions
  1. 4 0
      public/stylesheets/style.css
  2. 1 1
      views/password.pug

+ 4 - 0
public/stylesheets/style.css

@@ -74,4 +74,8 @@ input {
 button {
   cursor: pointer;
   height: 34px;
+}
+
+[v-cloak] {
+  display: none;
 }

+ 1 - 1
views/password.pug

@@ -8,7 +8,7 @@ block content
   li cia0Antaniqwer10102018
   li Tr0ub4dour&3
   br
-  #app
+  #app(v-cloak)
     input(
       type='password',
       v-model='password',