Browse documentation

v-route

Concept. Adds internal SPA navigation to an anchor.

Table of contents

Category

Concept

Public signature

ts
JSX directive: <a v-route="/internal-path">Link</a>

Runtime behavior

v-route accepts internal paths that start with one slash, sets href and optimized navigation, and preserves native modified-click behavior.