mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 17:13:56 +00:00
631 B
631 B
App.vue
The new app.vue
file, is the main component in your Nuxt3 applications.
If you would like to customize the global website entrypoint, you can create app.vue
in your project directory. Nuxt will automatically detect it and load it as the parent of all other pages within your application. This will be primarily useful for adding code that should be run on every single page of your site (see page layouts creating dynamic layouts).
Note: Don't forget to use <NuxtPage>
component somewhere inside app.vue
.
<template>
<div>
<NuxtPage />
</div>
</template>