element-plus / element-plus-nuxt-starter

🌰 A starter example for element-plus with Nuxt 3.
https://element-plus-nuxt.vercel.app
MIT License
297 stars 82 forks source link

feat: add @element-plus/nuxt #56

Closed tolking closed 1 year ago

tolking commented 1 year ago

fix #50, close #47, close #32

close #36, close #27, close #23

About teleport component in Vue

The Teleport component is used internally by multiple components in Element Plus (eg. ElDialog, ElDrawer, ElTooltip, ElDropdown, ElSelect, ElDatePicker ...)

There may be some SSR problems with teleport, so you should pay attention to the following precautions.

  1. The teleported attribute in all components based on ElTooltip should be consistent, it is recommended to use the default value.
  2. The append-to-body attribute value of ElDialog and ElDrawer should be consistent, it is recommended to enable the append-to-body.
  3. When the ElSubMenu component has a multi-layer popup, It is recommended to enable the popper-append-to-body

Or you can use <client-only></client-only> as before.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
element-plus-nuxt-starter ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 17, 2023 at 2:54AM (UTC)