mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
458 B
24 lines
458 B
import { createRequire } from 'module'
|
|
import { defineConfig } from 'vitepress'
|
|
import locales from './locales'
|
|
|
|
const require = createRequire(import.meta.url)
|
|
const pkg = require('vitepress/package.json')
|
|
|
|
export default defineConfig({
|
|
title: 'VitePress',
|
|
|
|
lastUpdated: true,
|
|
cleanUrls: true,
|
|
|
|
head: [['meta', { name: 'theme-color', content: '#3c8772' }]],
|
|
|
|
markdown: {
|
|
headers: {
|
|
level: [0, 0]
|
|
}
|
|
},
|
|
|
|
locales: locales.locales
|
|
})
|