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