Skip to content

thrijith/headless-wp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Headless WordPress with React and NextJS

Setup / Configuration

  • Clone the repo locally.
  • Search and replace siteurl from wp.test to the url of your desired site.
  • Run npm install.
  • Run npm run build for production build.
  • Run npm run start to see the changes as of now at http://localhost:8080. ( You can change port by updating port value in server.js )
  • Use npm run dev while making changes / updates to the files.

Additional Info

  • pages - Files inside this directory will be treated as pages.
  • routes.js - You can define all the routes here.
  • server.js - Contains server setup information.

Demo

View App Demo

Credits

Sample demo is built using this.

About

exploring things!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published