This commit is contained in:
taskylizard 2025-06-27 22:16:37 +00:00
parent ecd835f172
commit 15a56af368
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
7 changed files with 408 additions and 364 deletions

View file

@ -9,6 +9,7 @@ import { defineConfig } from 'vitepress'
import {
commitRef,
feedback,
wikiSidebar as homepageItems,
meta,
nav,
search,
@ -85,6 +86,9 @@ export default defineConfig({
.finally(() => consola.success('Success!'))
},
vite: {
define: {
FMHY_HOMEPAGE_ITEMS: JSON.stringify(homepageItems)
},
ssr: {
noExternal: ['@fmhy/components']
},