Added Chart to HomeScreen
This commit is contained in:
4
plugins/chartjs.ts
Normal file
4
plugins/chartjs.ts
Normal 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)
|
||||
})
|
||||
Reference in New Issue
Block a user