forked from mengyxu/noob-components
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
|
3 months ago
|
# Fill packages/manage spec
|
||
|
|
|
||
|
|
## Goal
|
||
|
|
Analyze the `packages/manage/` directory and document the management UI components (views, head/menu, common).
|
||
|
|
|
||
|
|
## Context
|
||
|
|
|
||
|
|
### Management Components
|
||
|
|
The packages/manage directory contains higher-level management UI components:
|
||
|
|
| Sub-directory | Purpose |
|
||
|
|
|---------------|---------|
|
||
|
|
| views | View-level components |
|
||
|
|
| head | Header/menu components (menu-tree.vue) |
|
||
|
|
| common | Shared management components |
|
||
|
|
|
||
|
|
## Tools Available
|
||
|
|
|
||
|
|
### GitNexus MCP
|
||
|
|
| Tool | Purpose |
|
||
|
|
|------|---------|
|
||
|
|
| `gitnexus_query` | Find view components and management patterns |
|
||
|
|
|
||
|
|
## Files to Fill
|
||
|
|
|
||
|
|
1. **packages/manage/index.ts** - Manage module exports
|
||
|
|
2. **packages/manage/views/index.ts** - View components
|
||
|
|
3. **packages/manage/head/index.ts** - Head components (menu-tree.vue)
|
||
|
|
4. **packages/manage/common/index.ts** - Common components
|
||
|
|
|
||
|
|
### Document:
|
||
|
|
- Component purposes
|
||
|
|
- Integration with composables (useListTable, useModifyForm)
|
||
|
|
- CRUD integration patterns
|
||
|
|
|
||
|
|
## Acceptance Criteria
|
||
|
|
- [ ] Real code examples with file paths
|
||
|
|
- [ ] Component APIs documented
|
||
|
|
- [ ] Integration patterns with composables
|
||
|
|
- [ ] No placeholder text
|
||
|
|
|
||
|
|
## Technical Notes
|
||
|
|
- Vue 3 + TypeScript
|
||
|
|
- Built on Element Plus
|
||
|
|
- Uses plugs/composables/* for state management
|