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

Default Section Illustration Does Not Render #8

Open
jrg94 opened this issue Mar 25, 2024 · 0 comments
Open

Default Section Illustration Does Not Render #8

jrg94 opened this issue Mar 25, 2024 · 0 comments

Comments

@jrg94
Copy link
Contributor

jrg94 commented Mar 25, 2024

The default section illustration doesn't seem to render in the latest version (1.1.2). I get the following warning, which seems to imply that it still works:

Files in the public directory are served at the root path.
Instead of /public/section-illustration.svg, use /section-illustration.svg.

However, my new section slides end up looking like this:

image

I toyed around with the new-section.vue file to try to get the section illustration to show up. None of the following paths worked:

../public/section-illustration.svg
/public/section-illustration.svg
../section-illustration.svg
/section-illustration.svg
section-illustration.svg

I even tried playing around with an assets folder, like in the official themes, with no luck. Even copying the section illustration to the local public folder for my slides didn't work. Rolling back to 1.1.1 and slidev 0.37.x fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant