gilbitron / wp-rest-theme

A WordPress theme powered by the WordPress REST API and Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP REST Theme

This is a simple skeleton theme powered by the WordPress REST API and Vue.js. The aim is to demonstrate how to create a single page application using Vue.js to power the front end site while fetching data from the backend via the WordPress REST API, all without sacrificing SEO.

Requirements

Usage

To use the theme on your WordPress site just install it like any other theme.

Customization

All of the Vue.js specific code is in the rest-theme/src folder. To build the dist/build.js script while developing run the following from the theme root:

npm run dev

To build the dist/build.js script before deploying run:

npm run build

Credits

Some of the libraries used in the making of this theme:

The WP REST Theme was created by Gilbert Pellegrom from Dev7studios. Released under the MIT license.

About

A WordPress theme powered by the WordPress REST API and Vue.js

License:MIT License


Languages

Language:Vue 53.6%Language:PHP 23.6%Language:JavaScript 14.3%Language:CSS 8.4%