Skip to content

A demo for a Vue.js SPA on top of WordPress as a headless CMS

Notifications You must be signed in to change notification settings

snipcart/wordpress-headless-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress & Vue.js: Headless Setup w/ WP REST API

wordpress-vue

It's a real breath of fresh air to see a mammoth of the web industry opening up to modern trends and new paradigms.

I thought: how fun would it be to use WordPress as a headless CMS with Vue.js—beloved frontend framework of mine?

A lot, it turns out!

In this tutorial, I want to go further in-depth with that stack.

Steps:

  1. Creating models with custom fields in WordPress
  2. Building a custom endpoint for the WP REST API
  3. Setting up a Vue.js single-page application
  4. Hosting the app

Read the full tutorial here

See the live demo here

Enjoy folks!