38 lines
725 B
TypeScript
38 lines
725 B
TypeScript
import { viteBundler } from '@vuepress/bundler-vite'
|
|
import { defineUserConfig } from 'vuepress'
|
|
import { plumeTheme } from 'vuepress-theme-plume'
|
|
|
|
export default defineUserConfig({
|
|
base: '/',
|
|
lang: 'zh-CN',
|
|
title: 'vuepress-yuany3721',
|
|
|
|
head: [
|
|
// 配置站点图标
|
|
['link', { rel: 'icon', type: 'image/png', href: 'logo.png' }],
|
|
],
|
|
|
|
bundler: viteBundler(),
|
|
shouldPrefetch: false,
|
|
|
|
theme: plumeTheme({
|
|
hostname: 'https://blog.yuany3721.site/',
|
|
|
|
autoFrontmatter: {
|
|
permalink: false,
|
|
createTime: true,
|
|
title: true,
|
|
},
|
|
|
|
contributors: false,
|
|
readingTime: false,
|
|
|
|
markdown: {
|
|
image: {
|
|
figure: true,
|
|
lazyload: true,
|
|
},
|
|
},
|
|
}),
|
|
})
|