Use lazy loading for navbars
This commit is contained in:
@@ -11,11 +11,11 @@ const emit = defineEmits<{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NavSideBar :champion-name="championName"
|
||||
<LazyNavSideBar :champion-name="championName"
|
||||
:champion-lanes="championLanes"
|
||||
:tierlist-list="tierlistList"
|
||||
@state-change="(s, l) => emit('stateChange', s, l)"/>
|
||||
<NavBottomBar :champion-name="championName"
|
||||
<LazyNavBottomBar :champion-name="championName"
|
||||
:champion-lanes="championLanes"
|
||||
@state-change="(s, l) => emit('stateChange', s, l)"/>
|
||||
</template>
|
||||
Reference in New Issue
Block a user