By default, Unlighthouse assumes SSR pages with links in initial HTML. SPAs require JavaScript execution for link discovery.
Allow Puppeteer to execute JavaScript before extracting page content:
import { defineUnlighthouseConfig } from 'unlighthouse/config'
export default defineUnlighthouseConfig({
scanner: {
skipJavascript: false, // Enable JS execution for SPAs
},
})