mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
37 lines
577 B
Vue
37 lines
577 B
Vue
<template>
|
|
<div>
|
|
<ul>
|
|
<li><nuxt-link to="/">Activity</nuxt-link></li>
|
|
<li><nuxt-link to="/contributors">Contributors</nuxt-link></li>
|
|
</ul>
|
|
<nuxt/>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
ul li {
|
|
display: inline-block;
|
|
float: left;
|
|
border: 1px #ddd solid;
|
|
}
|
|
ul li a {
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 10px;
|
|
color: #222;
|
|
text-decoration: none;
|
|
}
|
|
ul li a.nuxt-link-exact-active {
|
|
text-decoration: underline;
|
|
}
|
|
</style>
|