test: add dynamic page to full-static fixture

This commit is contained in:
Pooya Parsa 2020-06-10 15:15:13 +02:00
parent 7c6e170a89
commit c48a834b98
2 changed files with 35 additions and 12 deletions

View File

@ -1,21 +1,34 @@
<template>
<div>
<NLink to="/">
Home
</NLink>
<NLink to="/store">
Store
</NLink>
<NLink to="/pagination/1">
Pagination
</NLink>
<main>
<nav>
<NLink to="/">
Home
</NLink>
<NLink to="/store">
Store
</NLink>
<NLink to="/pagination/1">
Pagination
</NLink>
<NLink to="/dynamic/foo%20bar">
Dynamic route
</NLink>
</nav>
<br>
<Nuxt />
</div>
</main>
</template>
<style scoped>
main {
margin: 1em 1em;
}
nav {
margin-bottom: 1em;
}
a {
margin: 0 1em;
margin-right: 1em;
}
</style>

View File

@ -0,0 +1,10 @@
<template>
<div>
Welcome {{ $route.params.name || 'nuxter' }}!
</div>
</template>
<script>
export default {
}
</script>