Skip to content

Server-side authentication with Nuxt

8

For the last step, we must remove the welcome page and enable the pages we have created so far. For that, head to the app.vue file, and replace <NuxtWelcome /> with <NuxtPage /> so that code looks as follows:

Vue
<!-- app.vue -->
<template>
  <div>
    <NuxtRouteAnnouncer />
    <NuxtPage />
  </div>
</template>

Replace <NuxtWelcome /> with <NuxtPage /> to allow the user to navigate to the pages created so far, such as the sign-up and account pages, instead of the default Nuxt welcome page.