Replies: 5 comments 5 replies
-
|
I've only used it if I'm planning on deploying to something like GitHub pages and the site would live in a subdirectory, like https://pdehaan.github.io/foo, and I need to prefix all my URLs with "/foo". And then I think the trick is to wrap all your URLs with the |
Beta Was this translation helpful? Give feedback.
-
|
@pdehaan So far I've used it quite some time to generate multi language sites, the multi-pass way 😄 The dev server open |
Beta Was this translation helpful? Give feedback.
-
I have to be honest with you, I'm not sure I'm not totally silly! 🤣 But I believe I understand pathprefix parameter & url filter.... Manwhile when I run something like this: And of course it doesn't work. I surely have to setup something, but what? |
Beta Was this translation helpful? Give feedback.
-
|
@pdehaan You are 100% right! And I did not even think about trying to add the trailing slash. now |
Beta Was this translation helpful? Give feedback.
-
|
A few fixes going into dev-server 1.0.0-canary.14. See 11ty/eleventy-dev-server#37 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
For the very first time, I'm trying to use
pathPrefixas it's supposed to: your site lives in a different subdirectoryWhile I managed to find another way and use other servers already installed; I have a hard time to guess how I am supposed to set it up...
Am I just lacking coffee? Anyone could shed a light?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions