Returned router-link to navigate over SPA

This commit is contained in:
Eugene Serb 2022-07-22 20:25:12 +03:00
parent 55b4ecc61c
commit a34c80d22c
6 changed files with 8 additions and 8 deletions

View File

@ -15,4 +15,4 @@
trackLinks: true,
accurateTrackBounce: true,
webvisor: true
});</script><script defer="defer" src="/js/chunk-vendors.43d24a0a.js"></script><script defer="defer" src="/js/app.306d5adb.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body id="app" v-cloak><noscript>You need to enable JavaScript to run this app.</noscript><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>
});</script><script defer="defer" src="/js/chunk-vendors.43d24a0a.js"></script><script defer="defer" src="/js/app.ed7ad2c3.js"></script><link href="/css/app.a72a8a93.css" rel="stylesheet"></head><body id="app" v-cloak><noscript>You need to enable JavaScript to run this app.</noscript><noscript><div><img src="https://mc.yandex.ru/watch/89252711" style="position:absolute; left:-9999px;" alt=""/></div></noscript></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
docs/js/app.ed7ad2c3.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,16 +7,16 @@
<nav class="menu-wrapper">
<ul class="navigation">
<li class="navigation__item">
<a href="/" target="_self" class="navigation__link">Home</a>
<router-link to="/" class="navigation__link">Home</router-link>
</li>
<li class="navigation__item">
<a href="/faq.html" target="_self" class="navigation__link">FAQ</a>
<router-link to="/faq" class="navigation__link">FAQ</router-link>
</li>
<li class="navigation__item">
<a href="/about.html" target="_self" class="navigation__link">About</a>
<router-link to="/about" class="navigation__link">About</router-link>
</li>
<li class="navigation__item">
<a href="/donate.html" target="_self" class="navigation__link">Donate</a>
<router-link to="/donate" class="navigation__link">Donate</router-link>
</li>
</ul>
</nav>