Nuxt/examples/with-firebase/layouts/default.vue
2017-02-24 21:37:05 -06:00

28 lines
328 B
Vue

<template>
<div class="container">
<div class="header">
<nav>
<h1 @click="$router.push('/')">Nuxt.js + Firebase</h1>
</nav>
</div>
<nuxt/>
</div>
</template>
<style>
body {
padding-top: 1.5rem;
}
nav {
padding: 1.5rem 0;
}
h1 {
cursor: pointer;
display: inline-block;
}
</style>