Skip to content

Instantly share code, notes, and snippets.

@InfoSec812
Created October 20, 2018 03:07
Show Gist options
  • Select an option

  • Save InfoSec812/09f4a9381e1750e8cd03750de2e12f25 to your computer and use it in GitHub Desktop.

Select an option

Save InfoSec812/09f4a9381e1750e8cd03750de2e12f25 to your computer and use it in GitHub Desktop.
Implementation of login feature
<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