Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Allow specifying a subdir for slidev #24

Closed
mdbenito opened this issue Apr 21, 2024 · 1 comment
Closed

Allow specifying a subdir for slidev #24

mdbenito opened this issue Apr 21, 2024 · 1 comment

Comments

@mdbenito
Copy link

mdbenito commented Apr 21, 2024

Currently slidev expects a package.json in the root of the repository. However, some projects which might not be js-based and use sli.dev for slides in a subfolder, won't have this. It would be very convenient to be able to tell the extension where to find the slides.

I have tried forcing "slidev.enabled": true in the workspace settings, but this has no effect.

Of course, opening that folder instead of the project root in vscode solves the problem.

Thanks for the extension!

@kermanx
Copy link
Member

kermanx commented May 10, 2024

We've rewritten the VSCode extension for Slidev (slidevjs/slidev#1557). Upgrading the VSCode extension to the latest (0.49.1) can resolve this issue.

@kermanx kermanx closed this as completed May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants