mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
set routeStyle
to next
This commit is contained in:
parent
2f01fe7291
commit
771989b7c9
@ -1,14 +1,16 @@
|
|||||||
import getConfig from "./.config.js"
|
import getConfig from "./.config.js"
|
||||||
|
|
||||||
import { defineConfig } from "vite"
|
import { defineConfig } from "vite"
|
||||||
import Pages from "vite-plugin-pages"
|
|
||||||
import reactRefresh from "@vitejs/plugin-react-refresh"
|
import reactRefresh from "@vitejs/plugin-react-refresh"
|
||||||
|
|
||||||
|
import Pages from "vite-plugin-pages"
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
reactRefresh(),
|
reactRefresh(),
|
||||||
Pages({
|
Pages({
|
||||||
react: true,
|
react: true,
|
||||||
|
routeStyle: "next",
|
||||||
extensions: ["jsx", "tsx"],
|
extensions: ["jsx", "tsx"],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user