|
|
@@ -17,7 +17,7 @@ import { useBackButton } from '@ionic/vue'
|
|
|
import { SplashScreen } from '@capacitor/splash-screen'
|
|
|
// import { Openinstall } from 'capacitor-openinstall'
|
|
|
import { AppsFlyer, AFConstants } from 'appsflyer-capacitor-plugin'
|
|
|
-import { Locale as VantLocale } from 'vant'
|
|
|
+import { Locale as VantLocale, Lazyload } from 'vant'
|
|
|
import vantEnUS from 'vant/es/locale/lang/en-US'
|
|
|
import { useStorage } from '@vueuse/core'
|
|
|
import { init as initEruda } from '@/utils/console'
|
|
|
@@ -75,6 +75,7 @@ app.mixin(common)
|
|
|
const packageSynced = ref(false)
|
|
|
app.provide('packageSynced', packageSynced)
|
|
|
VantLocale.use('en-US', vantEnUS)
|
|
|
+app.use(Lazyload)
|
|
|
|
|
|
// ionic components
|
|
|
Object.keys(IonComponents).forEach(key => {
|