Skip to content

Commit bfdcb19

Browse files
committed
Fixes a bug in post.vue
1 parent b4f6e86 commit bfdcb19

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-wordpress",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "A collection of Vue components and mixins for use with WordPress and the WP-REST API",
55
"author": "WakeCoder <ajqajq@gmail.com>",
66
"scripts": {

src/components/post.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121
}
2222
</style>
2323
<script>
24+
import wpMixin from '../mixins/wp-mixin'
2425
export default {
2526
name: 'post',
2627
props: ['post', 'imgSize'],
28+
mixins: [wpMixin],
2729
computed: {
2830
imageSource() {
2931
return this.getImageSource(this.post, this.imgSize)

0 commit comments

Comments
 (0)