diff --git a/src/components/AddNote.vue b/src/components/AddNote.vue new file mode 100644 index 0000000..d29ce86 --- /dev/null +++ b/src/components/AddNote.vue @@ -0,0 +1,47 @@ + + diff --git a/src/components/MyNav.vue b/src/components/MyNav.vue index 7c98559..ab6e72a 100644 --- a/src/components/MyNav.vue +++ b/src/components/MyNav.vue @@ -101,7 +101,6 @@ export default{ methods:{ get_menu() { let items = [] - items.push({title: "Dashboard", value:"/about"}) items.push({title: "Customers", value:"/customers", children:[{title:"List", diff --git a/src/router/index.js b/src/router/index.js index 0db63b4..44a02aa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,5 +1,4 @@ import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' const AboutView = () => import('../views/AboutView.vue') const LoginPage = () => import('../views/LoginPage.vue') const LogOut = () => import('../components/LogOut.vue') @@ -13,7 +12,7 @@ const routes = [ { path: '/', name: 'home', - component: HomeView + component: CustomerList }, { path: '/about', diff --git a/src/views/customers/CustomerList.vue b/src/views/customers/CustomerList.vue index f97953a..968eef6 100644 --- a/src/views/customers/CustomerList.vue +++ b/src/views/customers/CustomerList.vue @@ -15,36 +15,48 @@ - + + - -

Notes

- +

Comments

+ - - {{ item.text }} + + {{ item.comment }} +
+ + +