added router for redirect on home and add router for profile page

This commit is contained in:
Kostya
2023-11-25 22:28:25 +03:00
parent 9e281d111f
commit 5efe622a48
3 changed files with 16 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
</div>
<div class="header__nav">
<nav>
<a href="#" class="header__nav--now">Главная</a>
<a href="#" @click="$router.push({ name: 'home' })" class="header__nav--now">Главная</a>
<a href="#">Профиль</a>
<a href="#">Помощь</a>
</nav>