slidevjs / slidev

Presentation Slides for Developers
https://sli.dev
MIT License
32.79k stars 1.32k forks source link

RFC: Migrate to Nuxt #1392

Open antfu opened 6 months ago

antfu commented 6 months ago

Migrating Nuxt would allow us to share the Nuxt ecosystem, like installing integrations with Nuxt Modules or so. With the upcoming WebSocket support, it will make it easier to deploy a server-aware slides that are able to sync the presentation with a production build.

Meanwhile, Nuxt's templating, plugins, and module system would help us to organize the code in a better way.

This is a long-term plan that might require quite some effort. We plan to take it in a progressive approach, that we refactor our code base to a Nuxt-friendly way first so later we could migrate with fewer steps.

rightaway commented 6 months ago

Nuxt should enable a production build that doesn't need a running web server because it has SSG. Opening index.html from a browser on the same device should be enough to run the presentation which will be possible from devices when they are offline and can't install their own web servers such as phones and tablets.

cnguyen-de commented 6 months ago

thanks for creating this RFC, especially as soon as after our talk at Amsterdam ❤️

looking forward to use Nuxt superpowers

shinGangan commented 2 months ago

I look forward to this issue.

OG image can't be implemented in the current slidev. ( I hope that it would be nice to be able to set OG images when publishing slides on SNS... )

I'm happy to be able to implement it using the Nuxt OG Image module and Nuxt Devtools.