Sfoglia il codice sorgente

background color about vue component

night-cherry 3 settimane fa
parent
commit
fa3a68e440
2 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 1
      index.html
  2. 0 2
      router.js

+ 1 - 1
index.html

@@ -10,7 +10,7 @@
     <!-- <h3>this is node -> Vue test</h3> -->
     <div id='app'  style='color:red; font-size:20px; font-weight:bold;'>app node start...</div>
     <template id="my-app">
-		<Header></Header>
+		<header></header>
 		<!--<div v-html='info'></div> 
 		<Home @op="add">home vue</Home>
 		<h5 style="color:oranged">{{number}}</h5>

+ 0 - 2
router.js

@@ -5,7 +5,6 @@ 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 },
@@ -14,7 +13,6 @@ const routes=[
   { path:'/login',component:Login },
   { path:'/register',component:Register },
   { path:'/file',component:File },
-  { path:'/header',component:Header },
 ];
 const router = createRouter({
   routes,