Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Custom UI layouts #1509

Closed
KermanX opened this issue Apr 9, 2024 · 2 comments · May be fixed by #1513
Closed

RFC: Custom UI layouts #1509

KermanX opened this issue Apr 9, 2024 · 2 comments · May be fixed by #1513
Labels
enhancement New feature or request rfc

Comments

@KermanX
Copy link
Member

KermanX commented Apr 9, 2024

One of Slidev's main features is to be hackable. It would be useful if UIs, especially the presenter's view (#1095), could be configured by users.

Also, global-top and global-bottom can be one of these UIs. (Related to #1492)

We may need a new folder like pages to store these UIs. For example, users can create a pages/presenter.vue of a component receiving the #thisSlide, #previewNext, #note, and #editor slots.

edit: I am working on this now

@KermanX KermanX added enhancement New feature or request rfc labels Apr 9, 2024
@antfu
Copy link
Member

antfu commented Apr 9, 2024

Sure, slot approach sounds good!

@KermanX
Copy link
Member Author

KermanX commented Apr 25, 2024

Closed this as this is not really useful. A workaround could be using custom routes.

@KermanX KermanX closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rfc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants