Created
August 15, 2020 14:53
-
-
Save simonjcarr/b2f1dff4d5f7f9b2c940516cc67ad116 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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