diff --git a/src/assets/1.jpg b/src/assets/1.jpg new file mode 100644 index 0000000..f62eef4 Binary files /dev/null and b/src/assets/1.jpg differ diff --git a/src/router/index.js b/src/router/index.js index bc59ae8..a619e46 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -23,8 +23,22 @@ const routes = [ component: ()=> import("@/views/Login.vue") }, { - path:"/list", - component: ()=> import("@/views/List.vue") + path:"/nav", + component: ()=>import("@/views/DaoHang.vue"), + children:[ + { + path:"list", + component: ()=> import("@/views/List.vue") + }, + { + path:"addstu", + component:()=>import("@/views/AddSTu.vue") + }, + { + path:"stulist", + component:()=>import("@/views/StuList.vue") + }, + ] } ] diff --git a/src/views/AddSTu.vue b/src/views/AddSTu.vue new file mode 100644 index 0000000..4ac123c --- /dev/null +++ b/src/views/AddSTu.vue @@ -0,0 +1,89 @@ + + + \ No newline at end of file diff --git a/src/views/DaoHang.vue b/src/views/DaoHang.vue new file mode 100644 index 0000000..dd7deae --- /dev/null +++ b/src/views/DaoHang.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/src/views/List.vue b/src/views/List.vue index 23ee2c0..f8a68ea 100644 --- a/src/views/List.vue +++ b/src/views/List.vue @@ -1,5 +1,5 @@ \ No newline at end of file