routing
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<TableView :items="log" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vuex from 'vuex';
|
||||
import TableView from '../components/TableView.vue';
|
||||
|
||||
export default {
|
||||
components: { TableView },
|
||||
computed: { ...Vuex.mapState ({ log: (state) => state.log }) },
|
||||
mounted () {
|
||||
this.get_log ();
|
||||
},
|
||||
methods: { ...Vuex.mapActions ({ get_log: 'get_log' }) }
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user