Эх сурвалжийг харах

background color about vue component

night-cherry 3 долоо хоног өмнө
parent
commit
f616d29905
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      router.js

+ 2 - 0
router.js

@@ -5,6 +5,7 @@ import About from "./component/About.vue";
 import Login from "./component/approve/Login.vue";
 import Register from "./component/approve/Register.vue";
 import File from "./component/file/File.vue";
+import Header from './common/Header.vue';
 const routes=[
   { path:'/',redirect:'/home' },
   { path:'/home',component:Home },
@@ -13,6 +14,7 @@ const routes=[
   { path:'/login',component:Login },
   { path:'/register',component:Register },
   { path:'/file',component:File },
+  { path:'/header',component:Header },
 ];
 const router = createRouter({
   routes,