mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
cc1f6d94b5
Co-authored-by: farnabaz <farnabaz@users.noreply.github.com>
33 lines
534 B
Vue
33 lines
534 B
Vue
<template>
|
|
<div>
|
|
<div>
|
|
<NLink to="/тест">
|
|
/тест
|
|
</NLink>
|
|
<NLink :to="encodeURI('/тест')">
|
|
/тест (encoded)
|
|
</NLink>
|
|
<br>
|
|
<NLink to="/тест?spa">
|
|
/тест (SPA)
|
|
</NLink>
|
|
<NLink :to="encodeURI('/тест?spa')">
|
|
/тест (SPA encoded)
|
|
</NLink>
|
|
</div>
|
|
<Nuxt />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
a {
|
|
color: grey;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nuxt-link-exact-active {
|
|
color: red;
|
|
font-weight: bold;
|
|
}
|
|
</style>
|