mirror of
https://github.com/kevin-DL/comedy-video-lib.git
synced 2026-01-17 21:34:52 +00:00
Home Page
- Got a page design from TailwindUI - Added to the default layout - Added a header to the home page
This commit is contained in:
@@ -12,6 +12,12 @@ export default {
|
||||
this.$store.commit('auth/setToken', null)
|
||||
this.$store.commit('auth/setLoggedIn', false)
|
||||
},
|
||||
async login() {
|
||||
const token = await this.$magic.auth.loginWithMagicLink({
|
||||
email: this.email,
|
||||
})
|
||||
this.$store.commit('auth/setToken', token)
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user