Pages are a part of the Nuxt view's layers, just like the app template, HTML head, and layout, which we have already covered. The /pages/ directory is where you store your pages. You will spend most of your time working in this directory to create pages for your Nuxt app. However, creating pages is not something new – we created a simple error page in the /layouts/ directory in the previous section, and many pages when we were learning how to create custom routes for our app. So, when you want to create a custom page for a specific route, simply create a .vue file in the /pages/ directory; for example, we can create the following pages:
pages/
--| index.vue
--| about.vue
--| contact.vue
However, there is more than that required for creating a custom page. We need to know the attributes and functions on the page that come with Nuxt. Even though pages are an important part of Nuxt app development, while it is not emphasized in Vue app development, they are...