Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

How can I lazy load service library?

$
0
0

I am making an ionic/vue app with ibeacon support.

the code is working, but not finding beacons

I don’t KNOW this is a problem
but the library is loaded when the app loads (and gets a connection to cordova)
but the component that USES the library is 4 router changes away

the dom the library connects to is completely different than at load time

so… is there a way to do a lazy load/import of a service function library)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>