Nuxt/test/fixtures/basic/plugins/prerender.server.ts

5 lines
126 B
TypeScript
Raw Permalink Normal View History

export default defineNuxtPlugin((nuxtApp) => {
// Pretend to be prerendered
nuxtApp.payload.prerenderedAt = Date.now()
})