This commit is contained in:
sajjad
2023-10-18 01:22:06 -07:00
parent b16da8ab41
commit 98aa208766
157 changed files with 28673 additions and 13308 deletions
+6
View File
@@ -0,0 +1,6 @@
import Vue from 'vue'
// Lib imports
import axios from 'axios'
Vue.prototype.$http = axios
+13
View File
@@ -0,0 +1,13 @@
import { Bar, mixins } from 'vue-chartjs'
const { reactiveProp } = mixins
export default {
extends: Bar,
mixins: [reactiveProp],
props: ['options'],
mounted () {
// this.chartData is created in the mixin.
// If you want to pass options please create a local options object
this.renderChart(this.chartData, this.options)
}
}
+13
View File
@@ -0,0 +1,13 @@
import { Line, mixins } from 'vue-chartjs'
const { reactiveProp } = mixins
export default {
extends: Line,
mixins: [reactiveProp],
props: ['options'],
mounted () {
// this.chartData is created in the mixin.
// If you want to pass options please create a local options object
this.renderChart(this.chartData, this.options)
}
}
+13
View File
@@ -0,0 +1,13 @@
import { Pie, mixins } from 'vue-chartjs'
const { reactiveProp } = mixins
export default {
extends: Pie,
mixins: [reactiveProp],
props: ['options'],
mounted () {
// this.chartData is created in the mixin.
// If you want to pass options please create a local options object
this.renderChart(this.chartData, this.options)
}
}
+4
View File
@@ -0,0 +1,4 @@
import Vue from 'vue'
import 'chartist/dist/chartist.min.css'
Vue.use(require('vue-chartist'))
+3
View File
@@ -0,0 +1,3 @@
import './axios'
import './chartist'
import './vuetify'
+10
View File
@@ -0,0 +1,10 @@
export default {
primary: '#4caf50',
secondary: '#4caf50',
tertiary: '#495057',
accent: '#82B1FF',
error: '#f55a4e',
info: '#00d3ee',
success: '#5cb860',
warning: '#ffa21a'
}
+10
View File
@@ -0,0 +1,10 @@
import Vue from 'vue'
import Vuetify from 'vuetify'
import theme from './theme'
import 'vuetify/dist/vuetify.min.css'
import '@mdi/font/css/materialdesignicons.css'
Vue.use(Vuetify, {
iconfont: 'mdi',
theme
})