Guide_3DS/docs/.vitepress/config.mjs
lifehackerhansol 9446e2123a
Initialize VitePress
- Add theme submodule
- Add initial configuration files
- Override theme-default VPHero/VPFooter with custom theme version
- Update README
2024-09-27 08:09:51 -07:00

31 lines
702 B
JavaScript

/*
Copyright (C) 2024 Nintendo Homebrew
SPDX-License-Identifier: MIT
*/
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vitepress'
export default defineConfig({
title: "3DS Hacks Guide",
description: "A complete guide to 3DS custom firmware",
vite: {
resolve: {
alias: [
{
find: /^.*\/VPHero\.vue$/,
replacement: fileURLToPath(
new URL('./theme/components/VPHero.vue', import.meta.url)
)
},
{
find: /^.*\/VPFooter\.vue$/,
replacement: fileURLToPath(
new URL('./theme/components/VPFooter.vue', import.meta.url)
)
}
]
}
},
})