19 lines
744 B
Markdown
19 lines
744 B
Markdown
# Ask Mode Rules (Non-Obvious Only)
|
|
|
|
## Project Structure
|
|
- Vue 3 + Arco Design admin template with Pinia state management
|
|
- Vite config files located in `config/` directory (not root)
|
|
|
|
## Key Directories
|
|
- `src/api/` - API layer with two axios instances
|
|
- `src/views/ops/` - Main business modules (kb, netarch, asset, etc.)
|
|
- `src/router/guard/` - Route guards including dynamic menu loading
|
|
- `src/store/modules/app/` - App store with server menu fetching
|
|
|
|
## Documentation References
|
|
- Arco Design Vue: https://arco.design/vue
|
|
- Vue Flow (for topology): https://vueflow.dev/
|
|
|
|
## API Patterns
|
|
- Use [`request.ts`](src/api/request.ts) for workspace-aware requests
|
|
- Use [`interceptor.ts`](src/api/interceptor.ts) for standard Bearer token auth |