Skip to content
项目

关于

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

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…