Skip to content

Commit 40bb84f

Browse files
committed
Add architecture guidelines for Astro and Vue roles in CLAUDE.md
1 parent 702e052 commit 40bb84f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ TypeScript 5.x / Node.js 20+: Follow standard conventions
2727
- 001-pcd-website-v2: Added TypeScript 5.x / Node.js 20+ + Astro 5.x (static output), Vue 3, Leaflet 1.9, leaflet.markercluster, open-location-code, focus-trap, IBM Plex Sans (Google Fonts)
2828

2929
<!-- MANUAL ADDITIONS START -->
30+
## Architecture: Astro + Vue roles
31+
32+
- **Astro** provides the single entry point (`src/pages/index.astro`) — a thin static HTML shell with `<head>`, font/CSS links, and BASE_URL injection. No new Astro pages should be added; all UI lives in Vue.
33+
- **Vue** handles all interactive UI as `client:only="vue"` island components (map, node panel, node list, etc.). New UI features should be implemented as Vue components, not Astro pages.
34+
3035
## UI Guidelines
3136

3237
- Always support both light and dark mode for any new or modified UI elements.

0 commit comments

Comments
 (0)