8000 GitHub - flootr/nuxt-wp: Nuxt.js app which consumes the WordPress.com REST API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

flootr/nuxt-wp

Folders and files

NameName
Last commit message
Last commit date
< 8000 h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading">Latest commit
 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nuxt-wp

Nuxt.js app which consumes the WordPress.com REST API

Build Setup

You need to provide a .env file containing the following configuration parameters:

WP_API=https://public-api.wordpress.com/rest/v1.1
WP_SITE=<your-wordpress.com-site>

Now you can use one of the following npm scripts to start this application:

# install dependencies
$ npm install # Or yarn install

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

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

# generate static project
$ npm run generate

Notice

This project is inspired by postlight/headless-wp-starter. Except it doesn't ship with a WordPress backend but leverages the WordPress.com REST API for convenience.

Check it out on https://nuxt-wp.now.sh

About

Nuxt.js app which consumes the WordPress.com REST API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0