Open jamesyong-42 opened 6 years ago
This component is used only in layouts to display the page components.
Props:
string
<router-view/>
$route.fullPath
Example (layouts/default.vue):
layouts/default.vue
<template> <div> <div>My nav bar</div> <nuxt/> <div>My footer</div> </div> </template>
dfsdfsdfsdfsd
title: "API: The Component"
description: Display the page components inside a layout.
The <nuxt> Component
Props:
string
<router-view/>
, useful to make transitions inside a dynamic page and different route.$route.fullPath
Example (
layouts/default.vue
):