测试新路由
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user