Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kellymears/sage-next
https://github.com/kellymears/sage-next
nextjs sage wordpress wordpress-theme wpgraphql
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kellymears/sage-next
- Owner: kellymears
- License: mit
- Created: 2020-04-01T08:20:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T07:05:03.000Z (over 4 years ago)
- Last Synced: 2024-10-08T18:18:10.887Z (about 1 month ago)
- Topics: nextjs, sage, wordpress, wordpress-theme, wpgraphql
- Language: JavaScript
- Homepage: https://familiar-zebra.surge.sh
- Size: 1.53 MB
- Stars: 19
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sage Next
> A static WordPress starter theme built with WPGraphQL and the next.js framework.
**Important note:** while I am on the Roots team, this is not an official Roots project, despite the name. This is just me experimenting and thinking about what some future Sage _could_ look like.
This project can either be used directly as a WordPress theme or -- better yet -- a fully static site generator.
## Requirements
- Node
- WPGraphQL## Features
- Static site generation and component rehydration
- GraphQL data modeling
- CSS-in-JS theming
- Despite being very opinionated it's really not so opinionated at all.## Build commands
`yarn dev` starts up an HMR dev server to hack on
`yarn build` compiles the theme and writes the static content to the out dir.