Documentation
¶
Overview ¶
Package vue implements `sf vue` — helpers over a Vue frontend. `routes` parses a vue-router config (`createRouter({ routes: [...] })`) into a flat route map (full path, name, component, meta), so the agent reads one compact table instead of the whole router file. Extraction is heuristic (no pure-Go TS parser) but the router DSL is regular: objects with path/name/component/meta and nested children.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Root string // tree to search for router/index.ts (default: cwd)
File string // explicit router file (overrides the search)
Format string
}
Options controls a `vue routes` run.
Click to show internal directories.
Click to hide internal directories.