Created
October 20, 2018 03:07
-
-
Save InfoSec812/09f4a9381e1750e8cd03750de2e12f25 to your computer and use it in GitHub Desktop.
Implementation of login feature
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div class="column">> | |
| <q-input v-model="username" /> | |
| <q-input v-model="password" type="password" /> | |
| <q-btn @click="login" label="Log In" /> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'Login', | |
| data: () => { | |
| return { | |
| username: '', | |
| password: '' | |
| } | |
| }, | |
| methods: { | |
| login: function() { | |
| // Handle login | |
| } | |
| } | |
| } | |
| </script> | |
| <style scoped> | |
| </style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment