mirror of
https://github.com/RaddyTheBrand/60_NextJs-Headless_WordPress_Blog.git
synced 2026-04-24 22:35:52 +03:00
No description
- TypeScript 91.1%
- CSS 8.3%
- JavaScript 0.6%
| public | ||
| src | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| screenshot.jpg | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
NextJs 15 Headless WordPress Blog
Headless WordPress blog with Next.js 15 App Router and TypeScript
Installation Instructions
-
Create a
.envfile
In the root directory of your project, create a new.envfile. -
Add the following environment variable:
WORDPRESS_URL="https://yourwebsite.com" -
Install the project: In the root directory of your project, run the following command:
npm install
- Run the project locally In the root directory of your project, run the following command:
npm run dev
Now you should be able to visit your project under: localhost:3000
Watch the full YouTube tutorial
That's all.
