Open
Description
Describe the bug
I recently tried to create a theme for slidev (https://github.com/MordragT/slidev-theme-fh-aachen),
and layouts work, but components not.
When I specify the theme using a full path /home/tom/Desktop/Mordrag/slidev-theme-fh-aachen
,
then the components load fine.
When using a full path but like so: ~/Desktop/Mordrag/slidev-theme-fh-aachen
, they do not resolve succesfully anymore.
When installing the theme as a git dependency using pnpm (I didn't want to publish it at this stage):
"dependencies": {
"@slidev/types": "^51.4.0",
"slidev-theme-fh-aachen": "github:mordragt/slidev-theme-fh-aachen"
},
Components fail to resolve once again.
Minimal reproduction
Steps to reproduce the behavior:
- Create a new slidev project
- Add my theme as git dependency
- Define the theme and run
- See the warnings in the console
Environment
- Slidev version: 51.4.0
- Browser: Chromium, Zen Browser both up to date
- OS: NixOS Unstable
If do not have slidev installed globally.