initialize react-router
This commit is contained in:
parent
951ccecd14
commit
4133722f72
17 changed files with 213 additions and 74 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue