mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
6a8339e4c4
- fix(generator): decode full static filesystem paths - fix(vue-app): check decoded path against manifest - fix(vue-app): prevent double encoding for urls Co-authored-by: Pooya Parsa <pyapar@gmail.com>
41 lines
594 B
Vue
41 lines
594 B
Vue
<template>
|
|
<main>
|
|
<nav>
|
|
<NLink to="/">
|
|
Home
|
|
</NLink>
|
|
<NLink to="/store">
|
|
Store
|
|
</NLink>
|
|
<NLink to="/encoding/中文">
|
|
Encoding
|
|
</NLink>
|
|
<NLink to="/pagination/1">
|
|
Pagination
|
|
</NLink>
|
|
<NLink to="/dynamic/foo bar/#hash">
|
|
Dynamic route 1
|
|
</NLink>
|
|
<NLink to="/dynamic/foo%20bar">
|
|
Dynamic route 2
|
|
</NLink>
|
|
</nav>
|
|
<br>
|
|
<Nuxt />
|
|
</main>
|
|
</template>
|
|
|
|
<style scoped>
|
|
main {
|
|
margin: 1em 1em;
|
|
}
|
|
|
|
nav {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
a {
|
|
margin-right: 1em;
|
|
}
|
|
</style>
|