Skip to content

📖 Nuxt.js + WordPress REST API

Notifications You must be signed in to change notification settings

krestaino/nuepress

Repository files navigation

Build Status

NuePress

Nuxt.js + WordPress REST API

Screenshot

Demo

https://nuepress.kmr.io

Development

# install dependencies and create .env file
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project (not working right now)
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.

Wordpress Setup

Install the wordpress/wp-content/themes/nuepress theme in WordPress.

This theme is required to generate the sitemaps. It extends the per_page_limit REST API limitation. There are a few other non-critical changes included too. See the functions.php for more.