Files
yt2press/docs/.vitepress/config.mts
T
2026-01-29 17:05:45 +07:00

42 lines
879 B
TypeScript

import { defineConfig } from 'vitepress'
const TAURI_HOST = ''
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "yt2press",
description: "video to vitepress",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
],
sidebar: [
{
text: 'Preview',
// items: [
// { text: 'Markdown Examples', link: '/markdown-examples' },
// { text: 'Runtime API Examples', link: '/api-examples' }
// ]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
},
vite: {
clearScreen: false,
server: {
proxy: {
'/socket': {
target: 'ws://localhost:8080',
ws: true,
rewriteWsOrigin: true,
}
},
},
}
})