+Vuex +ElementUI +Pug

- Log on now works, storing user profile in vuex state
- Templates in Pug = awesome
This commit is contained in:
Daniel J. Summers committed 2017-08-05 22:48:09 -05:00
1 parent 338f11d1ab
commit 196db30cc5
13 files changed
+506 -122

No files matched your search

+8 -7
View File
@@ -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>