mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 00:22:05 +00:00
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>
|