All Projects → jimfrenette → wp-api-vuejs-poc

jimfrenette / wp-api-vuejs-poc

Licence: other
Proof of concept WordPress plugin to submit posts from the front end using the WordPress REST API and Vue.js

Programming Languages

PHP
23972 projects - #3 most used programming language
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to wp-api-vuejs-poc

Vue 163 Music
【停止维护】网易云音乐web版,支持PC端常用功能,localStorage保存播放列表
Stars: ✭ 788 (+4047.37%)
Mutual labels:  vue-resource
Social
基于Vue的社区论坛项目
Stars: ✭ 102 (+436.84%)
Mutual labels:  vue-resource
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+11031.58%)
Mutual labels:  vue-resource
Easy Vue
Learn vueJS Easily 👻
Stars: ✭ 896 (+4615.79%)
Mutual labels:  vue-resource
Vue Boilerplate
Vue 2.0 boilerplate,based on webpack and es6,includes vuex,vue-router,vue-resource, vuelidate
Stars: ✭ 94 (+394.74%)
Mutual labels:  vue-resource
Vue Api Request
Control your API calls by using an amazing component which supports axios and vue-resource
Stars: ✭ 116 (+510.53%)
Mutual labels:  vue-resource
One
基于Spring Boot和Vue2开发的前后端分离的后台管理系统
Stars: ✭ 426 (+2142.11%)
Mutual labels:  vue-resource
Imitate One
用vue+webpack + node仿制的One[一个 ]app
Stars: ✭ 216 (+1036.84%)
Mutual labels:  vue-resource
M Eleme
饿了么移动端单页应用
Stars: ✭ 99 (+421.05%)
Mutual labels:  vue-resource
Vue Awesome Swiper
🏆 Swiper component for @vuejs
Stars: ✭ 12,072 (+63436.84%)
Mutual labels:  vue-resource
Vue Gok
vue2.0-王者荣耀助手
Stars: ✭ 27 (+42.11%)
Mutual labels:  vue-resource
Vue Iview Demo
vue2.0(vue-cli+vue-router+vue-resource+iView)project
Stars: ✭ 68 (+257.89%)
Mutual labels:  vue-resource
Vue Resource
The HTTP client for Vue.js
Stars: ✭ 10,100 (+53057.89%)
Mutual labels:  vue-resource
Vue Quill Editor
🍡@quilljs editor component for @vuejs
Stars: ✭ 6,874 (+36078.95%)
Mutual labels:  vue-resource
Jackblog Vue
Jackblog vue 版, 个人博客系统, 使用 vue2, vuex, vue-resource, vue-router, vee-validate, vue-toast 等.
Stars: ✭ 1,925 (+10031.58%)
Mutual labels:  vue-resource
Vue Touch Ripple
👆 Touch ripple component for @vuejs
Stars: ✭ 443 (+2231.58%)
Mutual labels:  vue-resource
Vue Ruby China
使用Vue.js框架搭建的ruby china山寨版,集成vue-router+vuex等
Stars: ✭ 113 (+494.74%)
Mutual labels:  vue-resource
Copilot
Responsive Bootstrap 3 Admin Template based on AdminLTE with vue.js
Stars: ✭ 2,698 (+14100%)
Mutual labels:  vue-resource
Lvyou
🎒Vue.js 初步进阶案例,路由懒加载,进入页面前登录判断,返回导航判断,RestAPI接口使用,组件封装,Vuex状态封装,keep-alive页面缓存等功能
Stars: ✭ 195 (+926.32%)
Mutual labels:  vue-resource
Vue Sui Demo
用vue 和 SUI-Mobile 写了一个移动端demo,用来反馈学习vue的成果(禁用了SUI自带的路由,使用vue-router, vue-resource, webpack)[a web app written by vue & sui-mobile]
Stars: ✭ 1,747 (+9094.74%)
Mutual labels:  vue-resource

wp-api-vuejs-poc

Proof of concept WordPress plugin to submit posts from the front end using the WordPress REST API and Vue.js

http://jimfrenette.com/2017/01/post-from-front-end-wp-api-vuejs-part2/

https://www.youtube.com/watch?v=aRHX-Xpy67E&t


API Request Handlers

Three different web request handler examples are included:

jquery

The jquery-p02 tag contains the following additions:

  • List posts submitted by the current user
  • Select from the list to edit a post
  • Delete a post from the list

The jquery-p01 tag was cut from master and updated to replace vue-resource with the ajax method available in the external jQuery library loaded by default in WordPress.

axios

The axios-p01 tag was cut from master and updated with axios and vue-axios to replace vue-resource.

vue-resource

The vue-resource-p01 tag was the initial version, created in master using the vue-resource plugin for Vue.js to provide services for making web requests and handle responses using a XMLHttpRequest.



webpack

Build Setup

# install dependencies
npm install

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].