1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-25 22:02:58 +03:00
guide/front/client/page/CategoryPage.vue

23 lines
402 B
Vue
Raw Normal View History

2018-09-18 21:59:07 +03:00
<template>
2018-12-13 15:31:29 +03:00
<category
:categoryId="categoryId"
/>
2018-09-18 21:59:07 +03:00
</template>
<script lang="ts">
import Vue from 'vue'
2018-12-13 15:31:29 +03:00
import Category from 'client/components/Category.vue'
2018-09-18 21:59:07 +03:00
import Component from 'vue-class-component'
2018-12-13 15:31:29 +03:00
import { Prop } from 'vue-property-decorator'
2018-09-18 21:59:07 +03:00
@Component({
components: {
2018-12-13 15:31:29 +03:00
Category
2018-09-18 21:59:07 +03:00
}
})
2018-12-13 15:31:29 +03:00
export default class CategoryPage extends Vue {
@Prop(String) categoryId!: string
}
2018-09-18 21:59:07 +03:00
</script>