nuxt-ui-pro / docs

A documentation template made with Nuxt UI Pro.
https://docs-template.nuxt.dev
144 stars 43 forks source link

Redundant UMain elements #22

Closed mcfarljw closed 11 months ago

mcfarljw commented 11 months ago

I noticed that the root app.vue and layouts/docs.vue files are both referencing the UMain element which seems like it might redundantly create nested main elements.

https://github.com/nuxt-ui-pro/docs/blob/bfff9ab21b4a0b5072f20944e2cd6e3768815759/app.vue#L34-L38 https://github.com/nuxt-ui-pro/docs/blob/bfff9ab21b4a0b5072f20944e2cd6e3768815759/layouts/docs.vue#L8-L20

benjamincanac commented 11 months ago

Indeed, this was a mistake! Thanks for the report 😊