Ryan Yin 2023-08-14 01:22:48 +08:00
parent cf848b8ae1
commit 0ce81c111b
2 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,9 @@
import { createRequire } from 'module';
import { generateSitemap as sitemap } from "sitemap-ts";
import { PageData, defineConfig } from "vitepress";
const require = createRequire(import.meta.url)
// https://vitepress.dev/reference/site-config
export default defineConfig({
// remove trailing `.html`

View file

@ -1,4 +1,5 @@
{
"type": "module",
"devDependencies": {
"vitepress": "1.0.0-rc.4",
"vitepress-export-pdf": "1.0.0-beta.0"