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

Can we set static page routes for our pages, and then fallback to using the [...slug].js? #14

Open
jamesvidler opened this issue Mar 30, 2021 · 0 comments

Comments

@jamesvidler
Copy link
Contributor

Some developers are confused as to how the pages are working since we have one catch-all page route. Is it possible to set up static page routes for our pages as an example.

So for example, there would be a index.js, blog.js page and about.js page that would have comments in there that explain these use the catch-all [...slug].js.

That way, if someone is looking for a page by name they are directed to where the REAL logic lies...

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

1 participant