From 4ebaffe38c4d0cef20055e9a60ca476ff8b5180f Mon Sep 17 00:00:00 2001 From: Ben Richter Date: Wed, 11 Apr 2018 16:26:43 +0200 Subject: [PATCH] Rename to recommended pattern, no single-name --- .../ListView/{Todo.vue => TodoItem.vue} | 1 - .../{TodoCreate.vue => TodoItemAdd.vue} | 2 +- src/components/ListView/_ListView.vue | 24 +++++++++++++------ 3 files changed, 18 insertions(+), 9 deletions(-) rename src/components/ListView/{Todo.vue => TodoItem.vue} (99%) rename src/components/ListView/{TodoCreate.vue => TodoItemAdd.vue} (97%) diff --git a/src/components/ListView/Todo.vue b/src/components/ListView/TodoItem.vue similarity index 99% rename from src/components/ListView/Todo.vue rename to src/components/ListView/TodoItem.vue index 8c98aba..597fa97 100644 --- a/src/components/ListView/Todo.vue +++ b/src/components/ListView/TodoItem.vue @@ -2,7 +2,6 @@
-
diff --git a/src/components/ListView/TodoCreate.vue b/src/components/ListView/TodoItemAdd.vue similarity index 97% rename from src/components/ListView/TodoCreate.vue rename to src/components/ListView/TodoItemAdd.vue index db7d0de..0180b92 100644 --- a/src/components/ListView/TodoCreate.vue +++ b/src/components/ListView/TodoItemAdd.vue @@ -78,7 +78,7 @@ // no arrow functions! needs this context to vue instance created: function () { - console.log('TodoCreate.vue component was created') + console.log('TodoItemAdd.vue component was created') }, } diff --git a/src/components/ListView/_ListView.vue b/src/components/ListView/_ListView.vue index d943917..ea82734 100644 --- a/src/components/ListView/_ListView.vue +++ b/src/components/ListView/_ListView.vue @@ -17,20 +17,20 @@
- + :todo="todo" /> - +