chore: Update router links and remove unused pages
All checks were successful
CI / cache-and-install (push) Successful in 4m0s

This commit is contained in:
严浩
2024-08-05 17:36:40 +08:00
parent fc60b67aa6
commit d00978f7bb
6 changed files with 11 additions and 9 deletions

View File

@ -11,14 +11,14 @@ import HelloWorld from './components/HelloWorld.vue'
<HelloWorld msg="You did it!" />
<nav>
<RouterLink to="/">Home</RouterLink>
<RouterLink to="/about">About</RouterLink>
<RouterLink :to="{ name: 'IndexPage' }">Home</RouterLink>
<RouterLink :to="{ name: 'AboutPage' }">About</RouterLink>
</nav>
</div>
</header>
<nav>
<button @click="$router.push({ name: 'About' })">AboutButtonPush</button>
<button @click="$router.push({ name: 'AboutPage' })">AboutButtonPush</button>
</nav>
<RouterView />