Nuxt/test/fixtures/full-static/layouts/default.vue
Ahad Birang 298c3e3ef7
fix(generator): avoid duplicate slashes for routes ending with hash (#7776)
* 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>
2020-07-27 11:01:24 +02:00

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>