mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 01:53:55 +00:00
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>
|