http-server icon indicating copy to clipboard operation
http-server copied to clipboard

next js dynamic page

Open behnam-maqsudi opened this issue 2 years ago • 1 comments

how serve next js dynamic pages like that image

currently I see image

behnam-maqsudi avatar Jun 15 '22 16:06 behnam-maqsudi

Any updates? For Nuxt projects too, users/:id or _id.vue doesnt work. Gives 404 error. How to serve following urls? /pages/users/123 Here 123 is dynamic user id. When running with nuxt start it works fine, but with http-server it breaks

apgapg avatar Jun 30 '22 15:06 apgapg

This module is a static http server which is good for serving static files (a simple file server). It's better to make the server yourself so you have full control over it. (e.g. express framework)

sepehrsamavati avatar Nov 12 '22 06:11 sepehrsamavati

This issue has been inactive for 180 days

github-actions[bot] avatar May 11 '23 12:05 github-actions[bot]