Skip to content

Commit a04f84f

Browse files
committed
feat: nuxt og image v6
1 parent 26d967e commit a04f84f

50 files changed

Lines changed: 1414 additions & 558 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/app.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ if (import.meta.client) {
116116
useEventListener(document, 'click', handleModalLightDismiss)
117117
}
118118
}
119+
120+
// title and description will be inferred
121+
// this will be overriden by upstream pages that use different templates
122+
defineOgImage('Page.takumi')
119123
</script>
120124

121125
<template>

app/components/OgImage/Default.vue

Lines changed: 0 additions & 84 deletions
This file was deleted.

app/components/OgImage/Package.d.vue.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)