initialize react-router

This commit is contained in:
Mona Mayrhofer 2025-04-02 15:57:57 +02:00
parent 951ccecd14
commit 4133722f72
No known key found for this signature in database
GPG key ID: 5C83114FA383C6A0
17 changed files with 213 additions and 74 deletions

View file

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