• Stars
    star
    219
  • Rank 180,543 (Top 4 %)
  • Language Vue
  • Created over 5 years ago
  • Updated 6 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A complete Headless WordPress tech stack built on Nuxt.

fuxt

A complete Headless WordPress tech stack built on Nuxt, using GraphQL.

Works best with the fuxt-backend WordPress theme and included WordPress optimized components.

We also have some Shopify components under development here. Headless Shopify and WordPress together finally!

Built by Funkhaus. We normally host on Flywheel.

PS: The name Fuxt comes from Funkhaus and Nuxt. It's provocative.

Features

  • Optimized for Netlify deployment. Includes custom WordPress plugin for manual and auto deploys.
  • WordPress Previews and Drafts work with regular WordPress logins. Preview token in requests to work with CDNs.
  • Includes a WordPress admin bar on frontend for logged in users.
  • Supports Gutenberg blocks on frontend and backend!
  • Includes Nuxt Storybook module!
  • Includes custom module for nuxtGenerateInit. Populate the store once at the beginning of Generate!
  • Optimized fuxt-backend WordPress theme:
    • Auto installs any WordPress plugin dependencies
    • GraphQL powered API using Nuxt GraphQL Request
    • ACF first class citizen
    • Includes GQL email mutation to send email from frontend via backend
  • Google Analytics plugin baked in, pulls from WordPress dashboard (requires ACF Pro)
  • Includes lots of components for common WordPress needs
    • wp-gutenberg (supports custom frontend gutenberg components)
    • wp-menu and wp-menu-item (supports sub-menus!)
    • wp-image (uses WordPress generated src-sets and much more!)
    • wp-link (handles parsing WordPress permalinks)
  • Built in webfontloader for fast font loading
  • Uses Nuxt Auto Components
  • Built in proxy server, to make secure HTTP requests via WordPress
  • Lots of common functions to save you time!
    • Mobile swipe events baked in
    • Solve for 100vh on mobile baked in
    • Tracks window dimensions and scroll top position into Vuex
    • IP Stack region detection built in (requires API key)
    • Lodash baked in
    • Prettier and ESLint built in for nice looking code

Build Setup

This is just a Nuxt site, so it builds and deploys like any other Nuxt project.

Works best with the fuxt-backend WordPress theme as the backend.

First step: Duplicate and rename .example.env to .env. Define any vars environment needed there.

# install dependencies
$ npm install

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

# serve with hot reload Storybook at localhost:3003
$ npm run storybook

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

# build Storybook for production
$ npx nuxt storybook build

# generate static project
$ npm run generate

Documentation

For detailed explanation on how things work, checkout the wiki.

More Repositories

1

vuehaus

Vue.js on top of WordPress
PHP
137
star
2

wp-graphql-cors

Makes WP GraphQL's authetication "just work". It does this by customizing the CORS headers.
PHP
112
star
3

fuxt-backend

A theme that turns WordPress into a true GraphQL powered Headless CMS. Optimized for the fuxt frontend boilerplate.
PHP
100
star
4

best-practices

A running list of best practices learned from 10 years on the frontlines of a digital agency
42
star
5

lenis-scroll-snap

JavaScript
36
star
6

fuxt-shopify

Useful Shopify components built to work with the fuxt Nuxt boilerplate.
Vue
35
star
7

wordpress-theme-boilerplate

Funkhaus programming style guide and WordPress template theme.
PHP
28
star
8

fh-components

Reusable components for Vue + Vuehaus
Vue
18
star
9

Rest-Easy

Wordpress plugin to rest-ify your site with zero effort and powerful customization.
PHP
14
star
10

wp-shopify

A WordPress plugin to easily integrate Shopify into any site.
PHP
14
star
11

ql-search

An WPGraphQL extension that adds SearchWP's query functionality to the GraphQL server
PHP
13
star
12

fitToParent

A tool that will resize a DOM element to fit its parent container while maintaining original aspect ratio.
JavaScript
11
star
13

funkhaus-auto-seo

Automatically implement SEO best practices using the power of AI
PHP
10
star
14

zoomhaus

Smooth takeover image zoom effect.
JavaScript
5
star
15

wp-gql-gutenberg

PHP
4
star
16

funky-colors

A Wordpress plugin to detect a palette of colors from each image in the media library
PHP
4
star
17

can-vue

Canvas + Vue.js
Vue
3
star
18

wp-shopify-js

Client-side Vue plugin for wp-shopify
JavaScript
3
star
19

store

An e-commerce toolkit for WordPress
PHP
3
star
20

factory-archive

The Funkhaus component Factory - a proof of concept for an upcoming component marketplace
CSS
3
star
21

8baseDemo-frontend

Vue
3
star
22

netlify-deploy

Trigger a deploy to Netlify either automatically or with a button in the dashboard.
PHP
3
star
23

whenInView

jQuery plugin to listen for when elements enter and leave the window
JavaScript
3
star
24

scrollaxer

A parallax-y scrolling slideshow plugin for jQuery
JavaScript
2
star
25

social-pull

Wordpress plugin to easily import information from one or many social media accounts.
PHP
1
star
26

fh-footer

Self-updating slide-to-reveal footer in vanilla JS
JavaScript
1
star
27

focushaus

Pick image focal points and preview the results.
JavaScript
1
star
28

8baseDemo-backend

JavaScript
1
star
29

fh-deploy

Deploy files to a server via SFTP.
JavaScript
1
star
30

new-project-script

Node script to create a local install of a new site
JavaScript
1
star
31

CenterSlider.js

A barebones jQuery plugin for making slideshows that center.
HTML
1
star
32

roadblocker

jQuery plugin to manage when to display a roadblock overlay
JavaScript
1
star