1👍
✅
What about lazy load module in the mounted?
<script>
export default{
async mounted(){
const localforage = await import('localforage')
localforage.getItem('something', value => {
...
});
}
}
</script>
Source:stackexchange.com