Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krestaino/nuepress
📖 Nuxt.js + WordPress REST API
https://github.com/krestaino/nuepress
frontend javascript nuxt rest-api server-rendering ssr vue vuex web-app wordpress
Last synced: 3 days ago
JSON representation
📖 Nuxt.js + WordPress REST API
- Host: GitHub
- URL: https://github.com/krestaino/nuepress
- Owner: krestaino
- Created: 2017-07-13T19:00:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T21:13:18.000Z (about 2 years ago)
- Last Synced: 2025-01-04T02:17:28.613Z (17 days ago)
- Topics: frontend, javascript, nuxt, rest-api, server-rendering, ssr, vue, vuex, web-app, wordpress
- Language: Vue
- Homepage: https://nuepress.kmr.io/
- Size: 2.21 MB
- Stars: 631
- Watchers: 27
- Forks: 101
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## NuePress
[Nuxt.js](https://github.com/nuxt/nuxt.js) + [WordPress REST API](https://developer.wordpress.org/rest-api/)
![Screenshot](.github/screenshot.png)
## Demo
[https://nuepress.kmr.io](https://nuepress.kmr.io/)
## Development
```bash
# 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](https://nuxtjs.org).
## Wordpress Setup
Install the [wordpress/wp-content/themes/nuepress](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](wordpress/wp-content/themes/nuepress/functions.php) for more.