How henrywhu0503/cdutcm-nav works
CDUTCM-NAV is a student-facing resource directory for Chengdu University of Traditional Chinese Medicine. Students enter through the navigation home page, browse categorized campus, study, and general-purpose links, and follow a selected resource to its destination; they can also visit school-introduction, important-notice, and update-log pages. The app shell routes those pages and provides shared navigation and dialogs. The sampled sources establish routing, shared dialog state, and the school-introduction page’s use of navigation data; HomeView and several presentation components were not sampled, so their internal wiring is not assumed.
Main entry points: App.vue App shell · index.ts Page router · main.ts App bootstrap · LearnView.vue School introduction
Components 18
App runtime
- App bootstrap
src/main.ts - App shell
src/App.vue - Page router
src/router/index.ts
Resource directory
- Navigation home
src/views/HomeView.vue - Resource catalog
src/data/navData.ts - Resource cards
src/components/NavCard.vue
Information pages
- School introduction
src/views/LearnView.vue - Update log
src/views/UpdateView.vue - Important notices
src/views/InfoView.vue
Shared interface
- Section navigation
src/components/SideBar.vue - Header and timer
src/components/TopNav.vue - Intro navigation
src/components/IntroNav.vue - Mobile navigation
src/components/BottomNav.vue - App footer
src/components/AppFooter.vue - Dialog display
src/components/DialogBox.vue - Dialog state
src/stores/dialog.ts
Other components
- Student
- Linked resources
Connections 22
- Student → App shell: opens
- App bootstrap → App shell: mounts
- App bootstrap → Page router: installs
- App bootstrap → Dialog state: exposes
- App shell → Section navigation: renders
- App shell → Header and timer: renders
- App shell → Intro navigation: renders
- App shell → Mobile navigation: renders
- App shell → App footer: renders
- App shell → Dialog display: renders
- App shell → Page router: renders outlet
- Section navigation → Page router: navigates
- Page router → Navigation home: routes to
- Page router → Update log: routes to
- Page router → School introduction: routes to
- Page router → Important notices: routes to
- School introduction → Resource catalog: reads
- School introduction → Resource cards: renders
- Resource catalog → Dialog state: invokes
- Dialog display → Dialog state: reads state
- Student → Navigation home: browses
- Navigation home → Linked resources: offers links