Skip to content
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

How to set basePath like next.js #570

Open
diqye opened this issue Nov 14, 2023 · 2 comments
Open

How to set basePath like next.js #570

diqye opened this issue Nov 14, 2023 · 2 comments

Comments

@diqye
Copy link

diqye commented Nov 14, 2023

How to set basePath like next.js

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

@diqye
Copy link
Author

diqye commented Nov 15, 2023

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

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

But not working

@AMalfez
Copy link

AMalfez commented Apr 9, 2024

Hi is it still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants