Skip to content

Comments

feat: Add next.js pages router file based routing example#103

Merged
moonmeister merged 7 commits intomainfrom
example-next-pages-file-based-routing
Mar 27, 2025
Merged

feat: Add next.js pages router file based routing example#103
moonmeister merged 7 commits intomainfrom
example-next-pages-file-based-routing

Conversation

@theodesp
Copy link
Member

@theodesp theodesp commented Mar 21, 2025

Description

This PR sets up a Next.js project integrated with WPGraphQL and ACF for a headless WordPress CMS. It includes dynamic routing for posts, pages, categories, and a custom post type (Movies).

For setup instructions and details, refer to the README.md.

closes #103

@theodesp theodesp requested a review from a team as a code owner March 21, 2025 13:01
Copy link
Member

@ahuseyn ahuseyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great example @theodesp. I've tested with a fresh WP instance and submitted some fixes to the issues I've faced.

theodesp and others added 5 commits March 26, 2025 12:08
…README.md

Co-authored-by: Huseyn Aghayev <husen.agaev@gmail.com>
…src/pages/index.js

Co-authored-by: Huseyn Aghayev <husen.agaev@gmail.com>
…README.md

Co-authored-by: Huseyn Aghayev <husen.agaev@gmail.com>
…src/styles/globals.css

Co-authored-by: Huseyn Aghayev <husen.agaev@gmail.com>
…src/pages/index.js

Co-authored-by: Huseyn Aghayev <husen.agaev@gmail.com>
@ahuseyn ahuseyn self-requested a review March 27, 2025 13:18
@moonmeister moonmeister added this pull request to the merge queue Mar 27, 2025
Merged via the queue into main with commit ccb78bd Mar 27, 2025
1 check passed
@moonmeister moonmeister deleted the example-next-pages-file-based-routing branch March 27, 2025 17:12
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

Successfully merging this pull request may close these issues.

3 participants