nuxt-themes / docus

Write beautiful documentations with Nuxt and Markdown.
https://docus.dev
MIT License
1.6k stars 157 forks source link

[Components] Re-add slots features #601

Open Tahul opened 2 years ago

Tahul commented 2 years ago

In Docus 1, we had few of what we called "slot components";

These were dummy components shipped with Docus, that were used to facilitate user access to nested layout features by overwriting the component in their own project.

This is a really great feature that Nuxt offers, and I think we should take advantage of it again!

Also, this is something that can greatly be displayed via live-preview and editor! :)

AsideBottom.vue AsideTop.vue FooterBody.vue HeaderNavigation.vue PageTocBottom.vue PageTocTop.vue

Here is few slot components we used to have in Docus :)

Tahul commented 2 years ago

@smarroufin