{"library":"vue-route-generator","type":"library","category":null,"description":"vue-route-generator is a utility library for generating Vue Router configuration arrays based on a file-system-driven page component structure, mirroring conventions seen in frameworks like Nuxt. It allows developers to define routes implicitly by organizing `.vue` files within a specified directory, eliminating the need for manual route array definitions. The current stable version is `1.0.0`, which introduced compatibility with Vue 3. While not on a fixed release cadence, it receives updates for bug fixes and feature enhancements, with major versions primarily driven by Vue ecosystem shifts. A key differentiator is its focus on generating static JavaScript code at build time, rather than performing runtime route resolution, and its support for custom route metadata embedded directly within Vue Single File Components via a `<route>` block. It serves as a lower-level tool compared to related projects like `vue-auto-routing`, offering more granular control over the generation process.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","Vue","Vue Router","routing","generator","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-route-generator","imports":["import { generateRoutes } from 'vue-route-generator'","import type { GenerateConfig } from 'vue-route-generator'","import routes from './path/to/generated/routes'"]},{"cmd":"yarn add vue-route-generator","imports":[]},{"cmd":"pnpm add vue-route-generator","imports":[]}],"homepage":null,"github":"https://github.com/ktsn/vue-route-generator","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-route-generator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-route-generator/compatibility"}}