generate_vue_router
Generate Vue Router 4 configuration with typed routes, navigation guards, lazy loading, and meta fields
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appName": "<appName>",
"routes": "<routes>"
},
"name": "generate_vue_router"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | Yes | Comma-separated route paths (e.g. /,/dashboard,/users/:id) | |
| appName | Yes | Application name | |
| withAuthGuard | No | Include navigation guard for auth | |
| withLazyLoading | No | Lazy load route components | |
| withTransitions | No | Include page transitions | |
| withTypedRoutes | No | Use unplugin-vue-router for typed routes |