Nuxt/test/fixtures/encoding/layouts/default.vue

33 lines
534 B
Vue
Raw Normal View History

<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>