How abancristian/energy-proyect works
This is a small Vue energy-monitoring dashboard template. The user enters the app, navigates through a shared sidebar to a dashboard or device list, and sees hard-coded energy summaries, a Chart.js bar chart, and device status cards. The chart and device data are local view data; no backend or persistent energy store is shown. The counter store is present but not connected in the sampled code. The graph reflects the shown imports and routes; unsampled styling and any additional runtime behavior are omitted.
Main entry points: index.js Route table · main.js Vue entry · App.vue App root · DashboardView.vue Energy dashboard
Components 9
App navigation
- Main layout
src/components/MainLayout.vue - Route table
src/router/index.js
Energy views
- Energy dashboard
src/views/DashboardView.vue - Chart.js
- Device status list
src/views/DeviceView.vue - Counter store
src/stores/counter.js
Other components
- User
Connections 7
- User → Main layout: uses
src/components/MainLayout.vue - Vue entry → App root: mounts
src/main.js - Vue entry → Route table: registers
src/main.js - App root → Main layout: renders
src/App.vue - Route table → Energy dashboard: routes to
src/router/index.js - Route table → Device status list: routes to
src/router/index.js - Energy dashboard → Chart.js: creates chart
src/views/DashboardView.vue