Skip to content

Ultima latest version menu issue #1453

Discussion options

You must be logged in to vote

Could you change the MegaMenu implementation for the latest version like this:

<MegaMenu :model="item" class="layout-megamenu">
               <template #item="{ item, hasSubmenu }">
                        <router-link v-if="item.to" v-slot="{ href, navigate }" :to="item.to" custom>
                            <a class="relative overflow-hidden flex align-items-center cursor-pointer no-underline p-2" v-ripple :href="href" @click="navigate">
                                <span :class="item.icon" class="text-black-alpha-80"/>
                                <span :class="['ml-2', { 'text-white' : hasSubmenu, 'text-black-alpha-80': !hasSubmenu}]">{{ item.label }}</span>
                  …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nexgen-ui
Comment options

Answer selected by tugcekucukoglu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants