Skip to content

Instantly share code, notes, and snippets.

@simonjcarr
Created August 15, 2020 14:53
Show Gist options
  • Select an option

  • Save simonjcarr/b2f1dff4d5f7f9b2c940516cc67ad116 to your computer and use it in GitHub Desktop.

Select an option

Save simonjcarr/b2f1dff4d5f7f9b2c940516cc67ad116 to your computer and use it in GitHub Desktop.
<template>
<div class="bg-gray-500 flex flex-col min-h-screen">
<Header /><!-- //height 32 -->
<div class="flex-1 flex w-2/3 mx-auto p-4 text-lg bg-white h-full shadow-lg">
<div class="w-3/5">
<router-view :key="$route.fullPath" />
</div>
<div class="w-2/5">
<LatestPosts />
</div>
</div>
</div>
</template>
<script>
import Header from "@/components/site/header/Header.vue";
import LatestPosts from "@/components/blog/LatestPosts.vue"
export default {
components: {
Header,
LatestPosts
}
};
</script>
<style></style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment