tested shared Vuex store, created d8 userblock, enabled JSONAPI module

This commit is contained in:
2019-04-11 00:12:23 +02:00
parent 33764c382f
commit ef76fc2596
17 changed files with 442 additions and 60 deletions

View File

@ -1,5 +1,5 @@
<template lang="html">
<UserTools v-if="token" />
<UserTools v-if="isloggedin" />
<Login v-else />
</template>
@ -15,7 +15,7 @@ export default {
// },
computed: {
...mapState({
token: state => state.User.token
isloggedin: state => state.User.isloggedin
})
},
components: {