1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-26 14:23:14 +03:00
guide/front/client/components/Article.vue
2018-09-16 19:45:48 +05:00

24 lines
425 B
Vue

<template>
<v-container>
</v-container>
</template>
<script lang="ts">
import Vue from 'vue'
import Component from 'vue-class-component';
import { IArticle } from 'client/service/Article'
@Component
export default class Article extends Vue {
async asyncData({ store }) {
return store.dispatch('category/loadArticleList')
}
get articles() {
return this.$store.state.article.articlesList
}
}
</script>