Add analytics dashboard view and API integration
- Add AnalyticsView.vue for real-time API analytics - Update router to include /analytics route - Add Analytics link to BottomNav - Improve MetricCard layout for dashboard consistency - Update main.ts to initialize global auth store - Add Dockerfile and .env for containerization and config - Update README with complete API and architecture overview - Disable Tailwind in main.scss for SCSS-only styling
This commit is contained in:
@@ -3,6 +3,7 @@ import HomeView from '../views/HomeView.vue'
|
||||
import SensorManagementView from '../views/SensorManagementView.vue'
|
||||
import AIOptimizationView from '../views/AIOptimizationView.vue'
|
||||
import SettingsView from '../views/SettingsView.vue'
|
||||
import AnalyticsView from '../views/AnalyticsView.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
@@ -27,6 +28,11 @@ const router = createRouter({
|
||||
name: 'settings',
|
||||
component: SettingsView,
|
||||
},
|
||||
{
|
||||
path: '/analytics',
|
||||
name: 'analytics',
|
||||
component: AnalyticsView,
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user