unovue / shadcn-vue

Vue port of shadcn-ui
https://www.shadcn-vue.com/
MIT License
4.89k stars 280 forks source link

[Bug]: DropdownMenuPortal doesnt include in Dropdown Component #99

Closed sabiqhasby closed 1 year ago

sabiqhasby commented 1 year ago

Environment

Developement/Production OS: Windows 11
Node version: 18.12.1
Package manager: yarn@1.22.19
Radix Vue version: 0.4.1
Shadcn Vue version: 0.3.0
Nuxt version: 3.7.4
CSS framework: tailwindcss@3.3.2
Client OS: Windows 11
Browser: Chrome 117.0.5938.149

Link to minimal reproduction

https://www.shadcn-vue.com/docs/components/dropdown-menu.html

Steps to reproduce

installation using 'npx shadcn-vue@latest add dropdown-menu'

Describe the bug

Hello, I'm using Dropdown Menu component. I was trying to make sub menu content in Dropdown Menu. I was following exactly like the Shadcn-vue Docs. But something is missing. There is no DropdownMenuPortal in installation.

image

in Documentation Shadcn: image

Expected behavior

No response

Conext & Screenshots (if applicable)

No response

zernonia commented 1 year ago

It should be exported here right? directly from radix-vue

image

sabiqhasby commented 1 year ago

Finally, thanks @zernonia. Because I use autoimport from Nuxt. So DropdownMenuPortal need to import manually from '@/components/ui/dropdown-menu'.