riwert / wp-nuxt

Nuxt.js v2 as the frontend and WordPress API as the backend with REST API Resources, CPT UI and ACF, creating a fast website with a popular CMS.

Home Page:http://wp-nuxt.revert.pl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wp-nuxt

WordPress API and Nuxt.js with Editorial theme

Demo

wp-nuxt.revert.pl

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

Fill up .env file.

For detailed explanation on how things work, checkout Nuxt.js docs.

API Setup

# go to api folder
$ cd api/


# install api dependencies
$ npm install

Fill up api/.env file.

Required WordPress plugins

  • Custom Post Type UI
  • Advanced Custom Fields
  • ACF to REST API
  • REST API Multiple Post Types

About

Nuxt.js v2 as the frontend and WordPress API as the backend with REST API Resources, CPT UI and ACF, creating a fast website with a popular CMS.

http://wp-nuxt.revert.pl


Languages

Language:PHP 62.8%Language:JavaScript 25.1%Language:CSS 11.1%Language:SCSS 0.9%Language:Vue 0.1%Language:Shell 0.0%