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

Custom directory for "pages" #3921

Closed
1 task done
Vadorequest opened this issue Mar 1, 2018 · 5 comments
Closed
1 task done

Custom directory for "pages" #3921

Vadorequest opened this issue Mar 1, 2018 · 5 comments

Comments

@Vadorequest
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

I'd like to use a custom sub directory to store my "pages". I looked in the next.config.js but couldn't find any way of customizing it. Also, I found https://github.com/zeit/next.js/blob/07af67bfea3eb366c3b3457db9534d532d2e902b/server/build/webpack/utils.js#L4 which makes me thing it's not possible yet.

Is this something you intend to support?

@timneutkens
Copy link
Member

It's not possible. And it's been discussed in other issues.

We're currently not planning to change it to be configurable.

@billnbell
Copy link

We really should consider re-opening this.

Adding a variable to allow.

public/pages/
admin/pages/

So that we can have 2 directories of pages.

@lxblvs
Copy link

lxblvs commented Jun 26, 2018

How is this not a thing?

@ghost
Copy link

ghost commented Jul 26, 2018

Im surprised this is an issue, will probably have to spend hours now figuring a workaround

@lock lock bot locked as resolved and limited conversation to collaborators Jul 26, 2019
@timneutkens
Copy link
Member

Posted #8451

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

4 participants