https://github.com/cal-dev-lab/headless-cms-blog
A blog made with NextJS, GraphQL and WordPress (CMS). I have also integrated SWR ( "With SWR, components will get a stream of data updates constantly and automatically. And the UI will be always fast and reactive." )
https://github.com/cal-dev-lab/headless-cms-blog
Last synced: 11 months ago
JSON representation
A blog made with NextJS, GraphQL and WordPress (CMS). I have also integrated SWR ( "With SWR, components will get a stream of data updates constantly and automatically. And the UI will be always fast and reactive." )
- Host: GitHub
- URL: https://github.com/cal-dev-lab/headless-cms-blog
- Owner: cal-dev-lab
- License: cc0-1.0
- Created: 2021-01-27T17:22:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-29T13:43:07.000Z (over 5 years ago)
- Last Synced: 2025-03-26T03:11:23.133Z (over 1 year ago)
- Language: PHP
- Size: 46.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# headless-cms-blog
A blog made with NextJS, GraphQL and WordPress (CMS). I have also integrated SWR ( "With SWR, components will get a stream of data updates constantly and automatically. And the UI will be always fast and reactive." )
## Errors
I try to load my blog posts to the single page and shows a 404 error.
I am really not understanding why and any help would be great.
This is the error in my terminal when I try to click on the blog post and go to the single page:
error - ./pages/blog/[slug].js Attempted import error: 'getAllPostsWithSlug' is not exported from '../../pages/api/blog'.