Skip to content

Instantly share code, notes, and snippets.

@hibuno
Created January 22, 2018 00:23
Show Gist options
  • Save hibuno/461897fed5bf012b7db15d5915c57c81 to your computer and use it in GitHub Desktop.
Save hibuno/461897fed5bf012b7db15d5915c57c81 to your computer and use it in GitHub Desktop.
Add banner.vue on blog.vue
<template>
<div>
<!-- Navigation -->
<Navigation/>
<!-- Content -->
<div class="container">
<div class="row">
<div class="col-md-9 col-lg-9">
<!-- Content -->
<Banner />
<nuxt/>
</div>
<div class="col-md-3 col-lg-3">
<!-- Sidebar -->
<h4>Ini side bar</h4>
</div>
</div>
</div>
<!-- Footer -->
<h4>Ini footer</h4>
</div>
</template>
<script>
import Navigation from '~/components/navigation.vue'
import Banner from '~/components/banner.vue'
export default {
components: {
Navigation,
Banner
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment