Skip to content
masterclass Buddy

Vue.js · Component

RouterView

RouterView renders the component matched by the current route. Its slot lets you wrap that component with features such as KeepAlive or Transition.

Last updated

Syntax

const RouterView: () => object;

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • RouterLink
  • KeepAlive
  • Transition
  • useRoute
  • RouteLocationNormalizedLoadedGeneric

Source: RouterView slot | Vue Router. Checked 2026-11-03.