Nuxt/examples/vue-chartjs/layouts/default.vue

37 lines
578 B
Vue
Raw Normal View History

2017-08-24 10:16:12 +00:00
<template>
<div>
<ul>
<li><nuxt-link to="/">Activity</nuxt-link></li>
<li><nuxt-link to="/contributors">Contributors</nuxt-link></li>
</ul>
<nuxt />
2017-08-24 10:16:12 +00:00
</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>