2018-09-18 21:59:07 +03:00
|
|
|
<template>
|
2018-11-23 16:31:21 +03:00
|
|
|
<article-item
|
2018-11-25 20:41:15 +03:00
|
|
|
:categoryId="categoryId"
|
2018-11-23 16:31:21 +03:00
|
|
|
/>
|
2018-09-18 21:59:07 +03:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue'
|
2018-09-20 10:26:36 +03:00
|
|
|
import ArticleItem from 'client/components/Article.vue'
|
2018-09-18 21:59:07 +03:00
|
|
|
import Component from 'vue-class-component'
|
2018-11-23 16:31:21 +03:00
|
|
|
import { Prop } from 'vue-property-decorator';
|
2018-09-18 21:59:07 +03:00
|
|
|
|
|
|
|
@Component({
|
2018-11-23 16:31:21 +03:00
|
|
|
name: 'article-page',
|
2018-09-18 21:59:07 +03:00
|
|
|
components: {
|
2018-09-20 10:26:36 +03:00
|
|
|
ArticleItem
|
2018-09-18 21:59:07 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2018-11-23 16:31:21 +03:00
|
|
|
export default class ArticlePage extends Vue {
|
2018-11-25 20:41:15 +03:00
|
|
|
@Prop(String) categoryId!: string
|
2018-11-23 16:31:21 +03:00
|
|
|
}
|
2018-09-18 21:59:07 +03:00
|
|
|
</script>
|