aleph.js icon indicating copy to clipboard operation
aleph.js copied to clipboard

How to set `basePath` like next.js

Open diqye opened this issue 1 year ago • 2 comments

How to set basePath like next.js

https://nextjs.org/docs/app/api-reference/next-config-js/basePath

diqye avatar Nov 14 '23 14:11 diqye

I found that i can set basePath in router property as bellow

serve({
  router:{
    basePath: "/test/"
    // glob: "/*"
  },
....

But not working

diqye avatar Nov 15 '23 10:11 diqye

Hi is it still open?

AMalfez avatar Apr 09 '24 11:04 AMalfez