Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
Something went wrong. Try again.
12345678910111213141516171819202122232425globalThis.requestIdleCallback = process.client ? window.requestIdleCallback || function (cb) { const start = Date.now() const idleDeadline = { didTimeout: false, timeRemaining() { return Math.max(0, 50 - (Date.now() - start)) }, } return window.setTimeout(function () { cb(idleDeadline) }, 1) } : ((() => {}) as any)
globalThis.cancelIdleCallback = process.client ? window.cancelIdleCallback || function (id) { clearTimeout(id) } : () => {}
export default defineNuxtPlugin(() => {})