While using Element-Plus, I've encountered an issue with the el-dropdown component. It doesn't display as a functional dropdown menu when imported into my project.
Below is the code snippet I have used:
<template>
<div>
<el-dropdown>
<span class="el-dropdown-link">
Menu<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>黄金糕</el-dropdown-item>
<el-dropdown-item>狮子头</el-dropdown-item>
<el-dropdown-item>螺蛳粉</el-dropdown-item>
<el-dropdown-item disabled>双皮奶</el-dropdown-item>
<el-dropdown-item divided>蚵仔煎</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
</template>
This is how it appears/rendered in my project:
Upon hovering over it, only a black border is displayed and 'el-menu-item' cannot be found within 'Elements'. Unsure of what's causing this issue as there are no CSS styles affecting it visibly.