Hosting
Hosting Quartz Repos
Dev Server
Configure Custom URL
In package.json, add script for local host, like:
"serve": "npx quartz build --serve --host 192.168.5.55 --port 5555"
Launch Server
npx quartz build --serve
Production Server
Vercel is my host of choice for
vercel.json
Create or append to vercel.json:
{
"cleanUrls": true
}
Vercel Project Config
Configure New Vercel Server:
Framework Preset: Other
Root Directory: ./
Build and Output Settings > Build Command: npx quartz build
Custom Domain
Configure baseUrl in quartz.config.ts:
baseUrl: "subdomain.somesite.com"