11import 'dotenv/config'
22import { defineConfig } from 'vitepress'
33
4+ const ogDescription = 'VueQuill Rich Text Editor for Vue 3'
5+ const ogImage = 'https://vueup.github.io/vue-quill/og-image.png'
6+ const ogTitle = 'VueQuill'
7+ const ogUrl = 'https://vueup.github.io/vue-quill/'
8+
49export default defineConfig ( {
510 base : '/vue-quill/' ,
611 lang : 'en-US' ,
@@ -11,6 +16,13 @@ export default defineConfig({
1116 'link' ,
1217 { rel : 'icon' , type : 'image/svg+xml' , href : '/vue-quill/logo.svg' } ,
1318 ] ,
19+ [ 'meta' , { property : 'og:type' , content : 'website' } ] ,
20+ [ 'meta' , { property : 'og:title' , content : ogTitle } ] ,
21+ [ 'meta' , { property : 'og:image' , content : ogImage } ] ,
22+ [ 'meta' , { property : 'og:url' , content : ogUrl } ] ,
23+ [ 'meta' , { property : 'og:description' , content : ogDescription } ] ,
24+ [ 'meta' , { name : 'twitter:card' , content : 'summary_large_image' } ] ,
25+ [ 'meta' , { name : 'theme-color' , content : '#6279f4' } ] ,
1426 ] ,
1527 themeConfig : {
1628 logo : '/logo.svg' ,
0 commit comments