-
- Downloads
feat: enhance admin home with visit statistics and charts
- Implemented total visits, visits per day, visits by country, and most visited pages in HomeController. - Added Vue components for displaying visits per day and visits by country using Chart.js. - Updated the admin home view to include statistics and integrated Vue components for visual representation. - Added Chart.js as a dependency in package.json and package-lock.json.
parent
6bc2e00f
No related branches found
No related tags found
Showing
- app/Http/Controllers/Admin/HomeController.php 22 additions, 1 deletionapp/Http/Controllers/Admin/HomeController.php
- package-lock.json 17 additions, 0 deletionspackage-lock.json
- package.json 1 addition, 0 deletionspackage.json
- resources/js/components/admin/VisitsByCountryChart.vue 37 additions, 0 deletionsresources/js/components/admin/VisitsByCountryChart.vue
- resources/js/components/admin/VisitsPerDayChart.vue 32 additions, 0 deletionsresources/js/components/admin/VisitsPerDayChart.vue
- resources/js/pages/admin/home.js 10 additions, 0 deletionsresources/js/pages/admin/home.js
- resources/views/admin/home.blade.php 54 additions, 2 deletionsresources/views/admin/home.blade.php
... | ... | @@ -20,6 +20,7 @@ |
"@toast-ui/editor": "^3.2.2", | ||
"@vitejs/plugin-vue": "^5.2.1", | ||
"bootstrap": "^5.3.3", | ||
"chart.js": "^4.4.7", | ||
"color": "^4.2.3", | ||
"glob": "^11.0.0", | ||
"photoswipe": "^5.4.4", | ||
... | ... |
resources/js/pages/admin/home.js
0 → 100644
Please sign in to comment