mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
chore: remove div in server render
This commit is contained in:
parent
0b769781c5
commit
c14580d8c1
@ -19,9 +19,7 @@ export const createLazyIOClientPage = (componentLoader: Component) => {
|
||||
inheritAttrs: false,
|
||||
setup (_, { attrs }) {
|
||||
if (import.meta.server) {
|
||||
return () => h('div', {}, [
|
||||
h(componentLoader, attrs),
|
||||
])
|
||||
return () => h(componentLoader, attrs)
|
||||
}
|
||||
|
||||
const nuxt = useNuxtApp()
|
||||
|
Loading…
Reference in New Issue
Block a user