This repository has been archived by the owner. It is now read-only.
Old code source for yineo.fr : a SEO-friendly site with Nuxt.js (Vue) + wordpress.com public REST API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api
assets
components
layouts
middleware
pages
plugins
static
store
.editorconfig
.eslintrc.js
.gitignore
README.md
app.html
nuxt.config.js
package-lock.json
package.json
server.js

README.md

Example consumer with Nuxt.js / Vue.js and public wordpress API

This was the consumer for old version of https://yineo.fr, using wordpress.com public API. Wordpress public JSON API is great but is quite slow ( 600ms or > ) for now. That's why this repo include a simple proxy to cache responses. You can see cache stats at api/cache

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.