测试新路由

This commit is contained in:
zhengw
2025-09-11 16:20:58 +08:00
parent 2417f801ec
commit e0fb27b796
25 changed files with 308 additions and 788 deletions

View File

@@ -1,4 +1,4 @@
import routify from "@roxi/routify/vite-plugin";
// import routify from "@roxi/routify/vite-plugin";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import tailwindcss from "@tailwindcss/vite";
import path from "node:path";
@@ -9,14 +9,14 @@ export default defineConfig({
plugins: [
tailwindcss(),
svelte(),
routify({
singlePage: true,
render: {
csr: true,
ssg: false,
ssr: false,
},
}),
// routify({
// singlePage: true,
// render: {
// csr: true,
// ssg: false,
// ssr: false,
// },
// }),
],
base: "./",
resolve: {