diff options
Diffstat (limited to 'pages/kronika/index.vue')
-rw-r--r-- | pages/kronika/index.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pages/kronika/index.vue b/pages/kronika/index.vue index 86344c3..8142a6c 100644 --- a/pages/kronika/index.vue +++ b/pages/kronika/index.vue @@ -1,16 +1,18 @@ <template> <div style="padding-top: 20px"> <h2>Ostatnie wpisy</h2> - <post-list /> + <post-list :posts="posts" /> </div> </template> <script> import PostList from '~/components/Posts/PostList' +import postListParentMixin from '~/components/Posts/PostList/parentMixin' export default { components: { PostList - } + }, + mixins: [postListParentMixin] } </script> |