mirror of
https://github.com/aelve/guide.git
synced 2024-12-25 13:51:45 +03:00
24 lines
436 B
Vue
24 lines
436 B
Vue
<template>
|
|
<article-item
|
|
:categoryId="categoryId"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue'
|
|
import ArticleItem from 'client/components/Article.vue'
|
|
import Component from 'vue-class-component'
|
|
import { Prop } from 'vue-property-decorator';
|
|
|
|
@Component({
|
|
name: 'article-page',
|
|
components: {
|
|
ArticleItem
|
|
}
|
|
})
|
|
|
|
export default class ArticlePage extends Vue {
|
|
@Prop(String) categoryId!: string
|
|
}
|
|
</script>
|