1
1
import 'dotenv/config'
2
2
import { defineConfig } from 'vitepress'
3
3
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
+
4
9
export default defineConfig ( {
5
10
base : '/vue-quill/' ,
6
11
lang : 'en-US' ,
@@ -11,6 +16,13 @@ export default defineConfig({
11
16
'link' ,
12
17
{ rel : 'icon' , type : 'image/svg+xml' , href : '/vue-quill/logo.svg' } ,
13
18
] ,
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' } ] ,
14
26
] ,
15
27
themeConfig : {
16
28
logo : '/logo.svg' ,
0 commit comments