chore: Update router links and remove unused pages
All checks were successful
CI / cache-and-install (push) Successful in 4m0s
All checks were successful
CI / cache-and-install (push) Successful in 4m0s
This commit is contained in:
@ -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 />
|
||||
|
Reference in New Issue
Block a user