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> <template>
<div> <main>
<NLink to="/"> <nav>
Home <NLink to="/">
</NLink> Home
<NLink to="/store"> </NLink>
Store <NLink to="/store">
</NLink> Store
<NLink to="/pagination/1"> </NLink>
Pagination <NLink to="/pagination/1">
</NLink> Pagination
</NLink>
<NLink to="/dynamic/foo%20bar">
Dynamic route
</NLink>
</nav>
<br> <br>
<Nuxt /> <Nuxt />
</div> </main>
</template> </template>
<style scoped> <style scoped>
main {
margin: 1em 1em;
}
nav {
margin-bottom: 1em;
}
a { a {
margin: 0 1em; margin-right: 1em;
} }
</style> </style>

View File

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