Components
Introduction
@esmx/router-vue provides two built-in Vue components: RouterView for rendering matched route components, and RouterLink for declarative navigation. Both are registered globally when using the RouterPlugin.
RouterView
- Component Name:
RouterView
Renders the matched route component at the current depth. Supports nested routing with automatic depth tracking via Vue's provide/inject mechanism.
Nested Routing:
RouterLink
- Component Name:
RouterLink
Navigation link component that renders an anchor element with proper navigation behavior and active state management.
Props: