This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Development pages for manually exploring the components without a backend.
Run the dev server and open:
npm run dev
Entry points:
- Side bar
http://localhost:3000/dev/side-demo
- User input
http://localhost:3000/dev/user-input-demo
- Message (single message preview)
http://localhost:3000/dev/message-demo
These pages are purely for local manual testing and are not intended for production deployment.
When generating a static bundle (e.g. deploying to a plain static host), use:
npm run build:static
This script will:
- Temporarily move
src/app/devto.dev-pages.stashbeforenext build. - Run
next build(which emits a fully static site toout/because ofoutput: 'export'in the config). - Restore the dev pages directory afterward so local development can continue.
Artifacts .dev-pages.stash and marker .dev-pages-removed are git‑ignored.
Result: No /dev/* HTML or assets are included in the exported static site.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.