Search⌘ K

About Nuxt Components

Explore how Nuxt components extend Vue functionality by allowing you to define components that render on the server or client side. Understand the use cases for server-side-only and client-side-only components, how to implement them, and how they impact SEO, performance, and user experience.

Nuxt components are essentially similar to Vue components, given that the Nuxt framework is built on Vue. However, Nuxt has some additional components that come packaged with the framework to add additional optimizations to Nuxt projects.

Vue components are reusable building blocks in Vue.js applications that encapsulate specific functionality and user interface elements. Each component can have its own properties, methods, and events, making it easy to reuse code across different parts of an application.

For a refresher on Vue components, visit the Components lesson.

Environment-specific components

One of the optimizations Nuxt provides is the ability to specify whether a component renders on the server side or the client side.

Server-side components

As discussed in the ...