forked from bootstrap-vue-next/bootstrap-vue-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mts
42 lines (40 loc) · 1.21 KB
/
config.mts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import {defineConfig} from 'vitepress'
import Icons from 'unplugin-icons/vite'
const title = 'BootstrapVueNext'
const description = 'Quickly and Easily Integrate Bootstrap V5 Components With Vue 3'
const baseUrl = '/bootstrap-vue-next/'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title,
description,
base: baseUrl,
srcDir: 'src',
// TODO fix & remove this
ignoreDeadLinks: true,
head: [
['link', {rel: 'icon', type: 'image/x-icon', href: `${baseUrl}favicon.ico`}],
['meta', {property: 'og:title', name: 'og:title', content: title}],
['meta', {property: 'og:description', name: 'og:description', content: description}],
['meta', {property: 'twitter:card', name: 'twitter:card', content: 'summary'}],
['meta', {property: 'twitter:title', name: 'twitter:title', content: title}],
['meta', {property: 'twitter:description', name: 'twitter:description', content: description}],
],
vite: {
plugins: [Icons()],
},
locales: {
root: {
label: 'English',
lang: 'en',
},
},
appearance: false,
sitemap: {
hostname: `https://bootstrap-vue-next.github.io${baseUrl}`,
},
themeConfig: {
search: {
provider: 'local',
},
},
})