i have several composable file like: File one:
export const useLoadUserData = () => {
const loadData = async () => {
// some staff
}
onMounted(async () => loadData())
}
File two:
export const useMapData = () => {
const loadData = async () => {
// some staff
}
onMounted(async () => loadData())
}
And i include all files in App.vue. How can i check that all files was loaded?
I mean in App.vue i use this file without hooks:
useLoadUserData()
useMapData()
But what if I want to add another feature after working them out like:
useLoadUserData()
useMapData()
SplashScreen.hide()