Vue Router llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/vue-router/llms-txt)

# Vue Router llms.txt

Browse Vue Router documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

router.vuejs.org/llms.txt

[Raw llms.txt](https://router.vuejs.org/llms.txt) [Raw llms-full.txt](https://router.vuejs.org/llms-full.txt)

Copy Markdown [](https://router.vuejs.org/llms.txt)

llms.txt

Table of Contents

defineBasicLoader()

defineColadaLoader()

Active links

Cancelling a data loader

Configuration

Custom Param Parsers

Data Fetching

Data Loaders

Data Loaders

Defining Data Loaders

Different History modes

Dynamic Route Matching with Params

Dynamic Routing

Error handling

ESLint

Experimental Router

Extending RouterLink

Extending Routes

File Conventions

Getting Started

Getting Started

Hot Module Replacement

Installation

Introduction

Lazy Loading Routes

Loaders Organization

Migrating from Vue 2

Migrating to Vue Router 5

Named Routes

Named Views

Navigation aware

Navigation Guards

Nested loaders

Nested Routes

Nuxt

Passing Props to Route Components

Programmatic Navigation

Redirect and Alias

Reloading data

Route Meta Fields

RouterView slot

Routes' Matching Syntax

Scroll Behavior

Server side rendering

Transitions

Typed Routes&#x20;

Vue Router and the Composition API

Waiting for the result of a Navigation

## What is Vue Router's llms.txt?

Vue Router publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Vue Router offers and where to find details.

Pass

Spec

1

Sections

48

Links

2.7 KB

Size

~696

Tokens

Sections: Table of Contents

## Add Vue Router Docs to Your AI Assistant

Select your tool to see how to add Vue Router's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://router.vuejs.org/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Vue Router

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 51 notes

## Frequently Asked Questions

Where is Vue Router's llms.txt file?

Vue Router publishes its llms.txt at https://router.vuejs.org/llms.txt. This file provides a structured, markdown-formatted index of Vue Router's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Vue Router's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Vue Router's documentation so it can provide better code suggestions and answers about Vue Router.

What does Vue Router's llms.txt contain?

Vue Router's llms.txt contains 1 sections and 48 documentation links in 2.7 KB (~696 tokens). Key sections include Table of Contents.

How many tokens does Vue Router's llms.txt use?

The concise llms.txt index is approximately 696 tokens (2.7 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

What is Vue Router?

The official router for Vue.js. Vue Router's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with Vue Router.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Nuxt Content File-based CMS for Nuxt applications](https://mdream.dev/llms-txt/vue-router/llms-txt/nuxt-content) [SST Build full-stack apps on your own infrastructure](https://mdream.dev/llms-txt/vue-router/llms-txt/sst) [Nuxt Image Optimised images for Nuxt applications](https://mdream.dev/llms-txt/vue-router/llms-txt/nuxt-image) [H3 Minimal H(TTP) framework built for high performance](https://mdream.dev/llms-txt/vue-router/llms-txt/h3) [Nuxt Scripts Better third-party script performance in Nuxt](https://mdream.dev/llms-txt/vue-router/llms-txt/nuxt-scripts) [Nitro Next generation server toolkit](https://mdream.dev/llms-txt/vue-router/llms-txt/nitro) [Nuxt i18n Internationalization module for Nuxt](https://mdream.dev/llms-txt/vue-router/llms-txt/nuxt-i18n) [Hono Ultrafast web framework for the Edges](https://mdream.dev/llms-txt/vue-router/llms-txt/hono)

[View all 99 projects ](https://mdream.dev/llms-txt/vue-router/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/vue-router/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/vue-router/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)