Replies: 1 comment 1 reply
-
Because you've kept them inside a pages/ directory? You're probably confused with how other frameworks need a pages directory. VitePress doesn't need one, move those files outside that it would work fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Project Structure
My project root is
docs
, this is how I organize my project.My component and
[docRoute].md
What I am doing is basically get paths relative to project root for those markdown files, as routes.
But the actual links start with
/pages/
where the[docRoute].md
is placed.localhost:port/pages/../xxx.md
localhost:port/../xxx.md
is expexted.I've set base as
/
inconfig.mts
, shouldn't it be the same value aswithBase
returns?Beta Was this translation helpful? Give feedback.
All reactions