This is the personal website for Paul Loeb
- Next.js 15 (Pages Router) with static export (
output: "export"innext.config.js) - React 18
- Bootstrap 3 / React Bootstrap
- Node.js >= 18.18.0 (required by Next.js 15)
nvm use 20
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
nvm use 20
npm install
npm run build
The static export will be generated in the out directory.
After building, upload the contents of the out folder to SiteGround via the File Manager:
https://tools.siteground.com/filemanager?siteId=TEEzMmEzME1KZz09
- Node.js version: Next.js 15 requires Node.js
^18.18.0 || ^19.8.0 || >= 20.0.0. Usenvmto manage versions. - Static export:
next exportwas removed in Next.js 15. Static export is configured viaoutput: "export"innext.config.jsand runs automatically duringnext build. - Images: Next.js image imports (e.g.
import img from "./photo.jpg") return an object, not a string. Useimg.srcwhen passing to a plain<img>tag. Image optimization is disabled (images.unoptimized: true) for static export compatibility. - sharp: The
sharppackage is required for image processing during build. It is listed as a dependency.