Skip to content

thrijith/headless-wp

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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