Skip to content

Commit fba7017

Browse files
committed
add names for everything
1 parent 970492a commit fba7017

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

src/components/Comment.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import store from '../store'
1919
2020
export default {
2121
22-
name: 'comment', // for recursively using self
22+
name: 'Comment',
2323
2424
props: {
2525
comment: Object

src/components/Item.vue

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
<script>
2424
export default {
2525
26+
name: 'Item',
27+
2628
props: {
2729
item: Object,
2830
index: Number

src/components/ItemView.vue

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import Comment from './Comment.vue'
2424
2525
export default {
2626
27+
name: 'ItemView',
28+
2729
components: {
2830
Item,
2931
Comment

src/components/NewsView.vue

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import Item from './Item.vue'
2121
2222
export default {
2323
24+
name: 'NewsView',
25+
2426
components: {
2527
Item
2628
},

src/components/UserView.vue

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import store from '../store'
2323
2424
export default {
2525
26+
name: 'UserView',
27+
2628
data () {
2729
return {
2830
user: {}

0 commit comments

Comments
 (0)