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

Serving a next.js app from a subroute #1482

Closed
robstolarz opened this issue Mar 22, 2017 · 1 comment
Closed

Serving a next.js app from a subroute #1482

robstolarz opened this issue Mar 22, 2017 · 1 comment

Comments

@robstolarz
Copy link

I want to serve a next.js app from inside a node module, to be included as an Express route in a larger application. I can route requests to the next app pretty easily, and server-side rendering works well. However, it gets the links wrong (e.g. linking to /about rather than /<subdir>/about) and the /_next folder is not routed properly which messes up the app.

How would I go about serving a next.js app from a subroute?

@arunoda
Copy link
Contributor

arunoda commented Mar 22, 2017

Currently that's not possible.
We are tracking it here: #257

@arunoda arunoda closed this as completed Mar 22, 2017
@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants