hex-digital / nuxtpress

A modern Nuxt + WordPress starter kit, with support for SPA, Universal and Generated sites.

Home Page:https://github.com/hex-digital/nuxtpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NuxtPress - WordPress x Nuxt Development Environment

NuxtPress combines WordPress, the worlds biggest CMS with NuxtJS, a brilliant front-end application framework, built on top of Vue.

This README contains the quick start and intro documentation.
Check out the documentation directory for more detailed information on NuxtPress.

Quick start

git clone https://github.com/hex-digital/nuxtpress.git
cd nuxtpress
docker-compose up -d wp.nuxtpress
cd nuxt && cp .env.dist .env && cp assets/scss/settings/_settings.config.dist.scss assets/scss/settings/_settings.config.scss
yarn install && yarn dev

Introduction

NuxtPress aims to provide a ready to use development environment, combining WordPress with Nuxt. Included are:

  • Fully dockerized WordPress and NuxtJS containers, setup in one command: docker-compose up -d

  • Extended Rest API gives easy access to meta-fields, featured media menus and front-page config.

  • Latest NuxtJS, with a WordPress $wp object, to connect to the extended WordPress Rest API.

This allows you to skip all the backend coding, but provides the flexibility to extend the backend if you want to.

The following sites are powered by NuxtPress:

https://prostack.uk

Get in touch to have your site listed here.

Links

WUXT Headless WordPress API Extensions: Plugin which includes all our API extensions.

Credits

@northosts for the fantastic Wuxt framework on which NuxtPress is hugely dependent. https://github.com/northosts/wuxt
@yashha for the excellent idea with the $wp object, first implemented in https://github.com/yashha/wp-nuxt

About

A modern Nuxt + WordPress starter kit, with support for SPA, Universal and Generated sites.

https://github.com/hex-digital/nuxtpress

License:GNU General Public License v2.0


Languages

Language:Vue 29.8%Language:JavaScript 29.5%Language:SCSS 21.9%Language:PHP 17.5%Language:Shell 1.0%Language:CSS 0.2%Language:HTML 0.1%