Skip to content

Commit

Permalink
chore: config enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
cab-mikee committed Dec 17, 2024
1 parent 2c1b649 commit 3ca01c0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ export default withPwa(
head: [
['link', { rel: 'icon', type: 'image/svg+xml', href: './images/logo-mini.svg' }],
['link', { rel: 'icon', type: 'image/png', href: './images/logo.png' }],
['meta', { name: 'theme-color', content: '#1e40af' }],
['meta', { name: 'theme-color', content: '#0A0ABC' }],
['meta', { property: 'og:type', content: 'website' }],
['meta', { property: 'og:locale', content: 'en' }],
['meta', { property: 'og:title', content: 'vite plugin local| A better developer environment.' }],
['meta', { property: 'og:site_name', content: 'vite plugin local' }],
['meta', { property: 'og:image', content: './images/og-image.png' }],
['meta', { property: 'og:url', content: 'https://stacksjs.org/' }],
['meta', { property: 'og:url', content: 'https://vite-plugin-local.netlify.app/' }],
// ['script', { 'src': 'https://cdn.usefathom.com/script.js', 'data-site': '', 'data-spa': 'auto', 'defer': '' }],
...analyticsHead,
],
Expand Down Expand Up @@ -145,6 +145,12 @@ export default withPwa(
// },
},

pwa: {
manifest: {
theme_color: '#0A0ABC',
},
},

markdown: {
theme: {
light: 'vitesse-light',
Expand Down

0 comments on commit 3ca01c0

Please sign in to comment.