-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
to allow setting base when starting a slide deck with slidev #2005
Comments
so, poking around the slidev/packages/slidev/node/setups/indexHtml.ts Lines 16 to 64 in 959f019
|
There are lots of places in the code that assumes the whole app runs on root instead of one a url path. It requires reworking in multiple places including external plugins, as far as I can see. |
@kermanx (thanks for submitting this PR! 🙏) idk if this meets what @branaway intended; but something i was hoping to achieve was actually... consider the following slide headmatter: citations:
bibliography: /references.bib
template:
bibliography: /apa7.csl
inTextCitation: /apa7.csl
inTextReference: /apa7-intext.csl without a base URL these work flawlessly (as do all |
Opened #2055 to track this problem. |
will relative path work for you? something like:
I haven't tested out the base path implementation yet, but my quick glance to the code changes has left me with an impression that there might be some corner cases that are not been covered. One of them is the navigation sync module to sync front end state back the server, introduced in one of the last couple of releases. |
Is your feature request related to a problem? Please describe.
slidev slides.html
does not take a base parameter, like the build does. Sometimes I need an extra path segment for easier routing behind a proxy.Describe the solution you'd like
A clear and concise description of what you want to happen.
take a
base
parameter like thebuild
command does.The text was updated successfully, but these errors were encountered: