mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
298c3e3ef7
* fix: remove duplicate slashes from crawled routes * fixture: use trailing slash for hash * refactor: do trailing slash sanetization after hash removal * test: enable trailing slash for full-static fixture Co-authored-by: Pooya Parsa <pyapar@gmail.com>
38 lines
526 B
Vue
38 lines
526 B
Vue
<template>
|
|
<main>
|
|
<nav>
|
|
<NLink to="/">
|
|
Home
|
|
</NLink>
|
|
<NLink to="/store">
|
|
Store
|
|
</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>
|