Skip to content

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

License

Notifications You must be signed in to change notification settings

Roshanb54/wp-rest-theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 53.7%
  • PHP 23.6%
  • JavaScript 14.3%
  • CSS 8.4%