Nuxt/examples/with-firebase/layouts/default.vue

30 lines
349 B
Vue
Raw Normal View History

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