+Vuex +ElementUI +Pug
- Log on now works, storing user profile in vuex state - Templates in Pug = awesome
This commit is contained in:
1 parent
338f11d1ab
commit
196db30cc5
13 files changed
+506
-122
No files matched your search
@@ -3,12 +3,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'log-on',
|
||||
props: ['auth'],
|
||||
data () {
|
||||
this.auth.handleAuthentication()
|
||||
return {}
|
||||
}
|
||||
import AuthService from '@/auth/AuthService'
|
||||
|
||||
export default {
|
||||
name: 'log-on',
|
||||
data () {
|
||||
new AuthService().handleAuthentication(this.$store, this.$router)
|
||||
return {}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user