update and introduce react router

This commit is contained in:
Mona Mayrhofer 2025-12-23 16:30:04 +01:00
parent bf32423169
commit fa49ed07db
Signed by: Nionidh
GPG key ID: 374AB152BDEBA1AE
27 changed files with 349 additions and 187 deletions

View file

@ -1,6 +1,7 @@
import { reactRouter } from "@react-router/dev/vite";
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import checker from "vite-plugin-checker";
import tsconfigPaths from "vite-tsconfig-paths";
// https://vitejs.dev/config/
export default defineConfig({
@ -8,9 +9,10 @@ export default defineConfig({
checker({
biome: { command: "check", dev: { command: "lint" } },
typescript: true,
stylelint: { lintCommand: "stylelint ./src/**/*.css" },
stylelint: { lintCommand: "stylelint ./app/**/*.css" },
}),
react(),
reactRouter(),
tsconfigPaths(),
],
server: {
fs: {