jamesyong-42 / blog.github.io

My new blog based on Nuxt.js and github GraphQL API.
https://blog.jamesyong42.com/
2 stars 0 forks source link

post-test1 #1

Open jamesyong-42 opened 6 years ago

jamesyong-42 commented 6 years ago

title: "API: The Component" description: Display the page components inside a layout.

The <nuxt> Component

This component is used only in layouts to display the page components.

Props:

Example (layouts/default.vue):

<template>
  <div>
    <div>My nav bar</div>
    <nuxt/>
    <div>My footer</div>
  </div>
</template>