Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Slidev to create a presentation with slides showing iframes from local sources hosted/built with Vite.
Using Vite without Slidev, I would create an entry
index.html
that looks like this:Then in my
vite.config.js
, I can create abuild.rollupOptions.input
object referring to the index and each embedded example.When I've tried to use Slidev to do the same, I can't figure out how to get Vite to serve my embedded examples. If I put
<iframe src="./examples/first.html"></iframe>
in myslides.md
file, I get a 404 forhttp://localhost:3030/examples/first.html
when runningslidev
.Is there a way to configure Slidev to allow Vite to serve (and create bundles for) my additional html pages?
Beta Was this translation helpful? Give feedback.
All reactions