@@ -5,8 +5,8 @@ import "core-js/features/array/from";
5
5
6
6
// @ts -ignore
7
7
import { createApp , nextTick , configureCompat } from "vue" ;
8
- import VueSnackbar from "vue-snack" ;
9
- import "vue-snack/dist/vue-snack.min.css" ;
8
+ // import VueSnackbar from "vue-snack";
9
+ // import "vue-snack/dist/vue-snack.min.css";
10
10
import Meta from "vue-meta" ;
11
11
12
12
import App from "@/App.vue" ;
@@ -25,7 +25,7 @@ import {
25
25
configureCompat ( { RENDER_FUNCTION : false , WATCH_ARRAY : false } ) ;
26
26
27
27
const app = createApp ( App )
28
- . use ( VueSnackbar , { close : true } )
28
+ // .use(VueSnackbar, { close: true })
29
29
// migrate TODO
30
30
. use ( Meta as any )
31
31
. use ( router as any )
@@ -37,20 +37,20 @@ document.addEventListener("DOMContentLoaded", () => {
37
37
const text = sessionStorage . getItem ( messageOnNextPageReloadKey ) ;
38
38
if ( text != null ) {
39
39
nextTick ( ( ) => {
40
- ( vm as any ) . $snack . show ( {
41
- text,
42
- button : "" ,
43
- } ) ;
40
+ // (vm as any).$snack.show({
41
+ // text,
42
+ // button: "",
43
+ // });
44
44
sessionStorage . removeItem ( messageOnNextPageReloadKey ) ;
45
45
} ) ;
46
46
}
47
47
} ) ;
48
48
49
49
document . addEventListener ( "needs-refresh" , ( ) => {
50
50
// @ts -ignore migrate TODo
51
- vm . $snack . show ( {
52
- text : "New update for site is available" ,
53
- button : "refresh to update" ,
54
- action : refreshToUpdate ,
55
- } ) ;
51
+ // vm.$snack.show({
52
+ // text: "New update for site is available",
53
+ // button: "refresh to update",
54
+ // action: refreshToUpdate,
55
+ // });
56
56
} ) ;
0 commit comments