Nuxt/test/fixtures/basic/components/BreaksServer.client.ts

7 lines
147 B
TypeScript

// @ts-expect-error assigning property to window object to break SSR
window.test = true
export default defineComponent({
render: () => 'hi',
})