Added Chart to HomeScreen

This commit is contained in:
2024-08-25 20:45:52 +02:00
parent 4127c6d4fb
commit 734c9ec8f3
4 changed files with 224 additions and 5 deletions

4
plugins/chartjs.ts Normal file
View File

@@ -0,0 +1,4 @@
import { Chart, Title, Tooltip, Legend, LineElement, CategoryScale, LinearScale, PointElement } from 'chart.js'
export default defineNuxtPlugin(() => {
Chart.register(CategoryScale, LinearScale, LineElement, Title, Tooltip, Legend, PointElement)
})