feat: review backend and frontend
- update to the latest version of Java/SpringBoot - update to the latest version NuxtJS - add account/password update - add account creation - add account password reset - add bundle to regroup questions and add default questions on user creation - add bundle creation
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import { initializeAxios } from '~/utils/api'
|
||||
|
||||
const accessor: ({$axios}: { $axios: any }) => void = ({ $axios }) => {
|
||||
initializeAxios($axios)
|
||||
}
|
||||
|
||||
export default accessor
|
5
frontend/plugins/chartjs.ts
Normal file
5
frontend/plugins/chartjs.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import {ArcElement, Chart, Legend, RadialLinearScale, Title, Tooltip} from 'chart.js'
|
||||
|
||||
export default defineNuxtPlugin(() => {
|
||||
Chart.register(Title, Tooltip, Legend, ArcElement, RadialLinearScale)
|
||||
})
|
@@ -1,13 +0,0 @@
|
||||
import Vue from 'vue'
|
||||
|
||||
Vue.filter('formatDate', (value: string) => {
|
||||
const date = new Date(value);
|
||||
return `${(date.getDate() > 9 ? '' : '0')
|
||||
+ date.getDate()}/${((date.getMonth() + 1) > 9 ? "" : "0")
|
||||
+ (date.getMonth() + 1)}/${date.getFullYear()}`;
|
||||
})
|
||||
|
||||
Vue.filter('formatRate', (value: number) => {
|
||||
return value.toFixed(1);
|
||||
})
|
||||
|
Reference in New Issue
Block a user