Code Monkey home page Code Monkey logo

fuxt's Introduction

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

  • Optimzed for Netlify deployment. Includes custom WordPress plugin for manual and auto deploys.
  • WordPress Previews and Drafts work with regular WordPress logins
  • Supports Gutenberg blocks on frontend and backend!
  • Includes Nuxt Storybook module!
  • 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
  • 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 Stroybook for production
$ npx nuxt storybook build

# generate static project
$ npm run generate

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.