first gql request, displaying concernements as a liste
This commit is contained in:
33
src/views/Home.vue
Normal file
33
src/views/Home.vue
Normal file
@@ -0,0 +1,33 @@
|
||||
<script>
|
||||
|
||||
import { mapState } from 'pinia'
|
||||
import { UserStore } from '@/stores/user'
|
||||
import MapConcernements from '@components/MapConcernements.vue'
|
||||
|
||||
|
||||
export default {
|
||||
// data(){
|
||||
// return {
|
||||
// block: null
|
||||
// }
|
||||
// },
|
||||
computed: {
|
||||
...mapState(UserStore,['isloggedin'])
|
||||
},
|
||||
methods: {
|
||||
|
||||
},
|
||||
components: {
|
||||
MapConcernements
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MapConcernements v-if="isloggedin"/>
|
||||
</template>
|
||||
|
||||
<style lang="css" scoped>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user