|
@@ -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,
|