Skip to content

A Nextjs frontend starter that connects to a headless Wordpress

Notifications You must be signed in to change notification settings

jonryser/nextjs-for-headless-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextjs for Headless Wordpress

This Nextjs starter is intended to be used with a Headless Wordpress backend. Find a starter repo here: https://github.com/jonryser/headless-wordpress.

Requirements

  1. Node version 20.1.0

  2. Yarn (for package management) version 3.5.1

    • This project is setup to use asdf. This allows installing a specific version for the project. To install yarn with asdf, see https://github.com/twuni/asdf-yarn

    • Or install globally via npm: npm i -g yarn

    • Or install globally via Homebrew: brew install yarn

    • The correct version of yarn has been committed to this repo (in .yarn). As long as node is installed and a version of yarn is available on the system, this should "just work" and use the project version. If there are any issues, or the version needs to be updated, follow the steps below.

    • Set the version for the project ie: yarn set version 3.5.1

Linting and Formatting

For linting and formatting see LINTING.md.

Contributing

I so welcome contributions to making this better! Please create a fork and commit your changes to the fork. Then make a PR from the fork to this repo's "develop" branch.

I will code review. Once changes are accepted, it can be merged into develop and then on to the main branch.