# Vue Framework Addendum > Injected into file-analyzer and architecture-analyzer prompts when Vue is detected. > Do NOT use as a standalone prompt — always appended to the base prompt template. ## Vue Project Structure When analyzing a Vue project, apply these additional conventions on top of the base analysis rules. ### Canonical File Roles | File / Pattern | Role | Tags | |---|---|---| | `src/App.vue` | Root application component — mounts the top-level layout and router view | `entry-point`, `ui` | | `src/main.ts`, `src/main.js` | Application bootstrap — creates Vue app instance, registers plugins, mounts to DOM | `entry-point`, `config` | | `components/*.vue`, `components/**/*.vue` | Reusable UI components | `ui` | | `views/*.vue`, `pages/*.vue` | Page-level components mapped to routes | `ui`, `routing` | | `composables/*.ts`, `composables/*.js` | Composable functions — reusable stateful logic using Composition API | `service`, `utility` | | `store/*.ts`, `stores/*.ts` | State management modules (Pinia stores or Vuex modules) | `service`, `state` | | `router/*.ts`, `router/index.ts` | Vue Router configuration — route definitions, navigation guards | `config`, `routing` | | `plugins/*.ts`, `plugins/*.js` | Vue plugin registrations — extend app functionality (i18n, auth, etc.) | `config` | | `utils/*.ts`, `helpers/*.ts` | Pure utility functions | `utility` | | `types/*.ts`, `types/*.d.ts` | TypeScript type definitions and interfaces | `type-definition` | | `api/*.ts`, `services/*.ts` | API client functions and data-fetching logic | `service` | | `directives/*.ts` | Custom Vue directives | `utility` | | `tests/*.spec.ts`, `__tests__/*.spec.ts` | Unit and integration tests | `test` | ### Edge Patterns to Look For **Component parent-child** — When a parent component uses a child component in its `