-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Description
Version
3.2.30
Reproduction link
Steps to reproduce
In Vue 2 when we wrap things in #app
we don't get 2 container elements.
In Vue 3 though, we do.
Check Vue 2 project: https://codesandbox.io/s/reverent-tdd-4hs4j?file=/src/App.vue
Check Vue 3 project: https://stackblitz.com/edit/vitejs-vite-jnq5k4?file=src/App.vue
Vue 2 screenshot:
Vue 3 screenshot:
Notice the 2 container elements with id app
in Vue 3 version
What is expected?
Vue 2 and Vue 3 should both render one container element
What is actually happening?
In Vue 3 2 nested container elements are rendered
I know that in Vue 3 we can have multiple root elements, but I think the container elements functionality should be the same in Vue 3.
Metadata
Metadata
Assignees
Labels
No labels