File tree 5 files changed +2262
-21218
lines changed
5 files changed +2262
-21218
lines changed Original file line number Diff line number Diff line change @@ -62,5 +62,16 @@ module.exports = {
62
62
'@typescript-eslint/explicit-function-return-type' : [ 'off' ] ,
63
63
} ,
64
64
} ,
65
+ {
66
+ files : [
67
+ 'store/global/actions.ts' ,
68
+ 'store/global/getters.ts' ,
69
+ 'store/global/mutations.ts' ,
70
+ 'types/vue-shims-tsx.d.ts' ,
71
+ ] ,
72
+ rules : {
73
+ 'import/named' : 'off' ,
74
+ } ,
75
+ } ,
65
76
] ,
66
77
}
Original file line number Diff line number Diff line change @@ -10,24 +10,25 @@ import { AxiosInstance } from 'axios'
10
10
*
11
11
* @return
12
12
*/
13
- export default ( $axios : AxiosInstance ) => ( resource : string ) : any => ( {
14
- index ( ) : any {
15
- return $axios . get ( `${ resource } ` )
16
- } ,
13
+ export default ( $axios : AxiosInstance ) =>
14
+ ( resource : string ) : any => ( {
15
+ index ( ) : any {
16
+ return $axios . get ( `${ resource } ` )
17
+ } ,
17
18
18
- show ( id : string ) : any {
19
- return $axios . get ( `${ resource } /${ id } ` )
20
- } ,
19
+ show ( id : string ) : any {
20
+ return $axios . get ( `${ resource } /${ id } ` )
21
+ } ,
21
22
22
- create ( payload : any ) : any {
23
- return $axios . post ( `${ resource } ` , payload )
24
- } ,
23
+ create ( payload : any ) : any {
24
+ return $axios . post ( `${ resource } ` , payload )
25
+ } ,
25
26
26
- update ( id : string , payload : any ) : any {
27
- return $axios . post ( `${ resource } /${ id } ` , payload )
28
- } ,
27
+ update ( id : string , payload : any ) : any {
28
+ return $axios . post ( `${ resource } /${ id } ` , payload )
29
+ } ,
29
30
30
- delete ( id : string ) : any {
31
- return $axios . delete ( `${ resource } /${ id } ` )
32
- } ,
33
- } )
31
+ delete ( id : string ) : any {
32
+ return $axios . delete ( `${ resource } /${ id } ` )
33
+ } ,
34
+ } )
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-footer app color =" primary" >
3
- <span class =" mx-auto white--text font-weight-bold"
4
- >{{ new Date().getFullYear() }} © ; {{ $config.appName }}</span
5
- >
3
+ <span class =" mx-auto white--text font-weight-bold" >
4
+ {{ new Date().getFullYear() }} © ; {{ $config.appName }}
5
+ {{ $config.appVersion }}
6
+ </span >
6
7
</v-footer >
7
8
</template >
8
9
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ export default {
119
119
*/
120
120
publicRuntimeConfig : {
121
121
appName : process . env . APP_NAME ,
122
+ appVersion : 'v1.0.0' ,
122
123
} ,
123
124
/**
124
125
* Private runtime configs
You can’t perform that action at this time.
0 commit comments