Skip to content

Commit

Permalink
enable routes.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Apsysikal committed Dec 23, 2024
1 parent cf486ab commit aff373d
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/routes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { flatRoutes } from "@remix-run/fs-routes";

export default flatRoutes();
132 changes: 132 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
"devDependencies": {
"@eslint/js": "^9.17.0",
"@faker-js/faker": "^9.3.0",
"@react-router/remix-config-routes-adapter": "^0.0.0-nightly-bf7ecb711-20240911",
"@remix-run/dev": "^2.15.2",
"@remix-run/fs-routes": "^2.15.2",
"@remix-run/route-config": "^2.15.2",
"@testing-library/cypress": "^10.0.2",
"@testing-library/jest-dom": "^6.6.3",
"@types/bcryptjs": "^2.4.5",
Expand All @@ -87,6 +90,7 @@
"postcss": "^8.4.39",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"remix-flat-routes": "^0.6.5",
"sharp": "^0.33.4",
"start-server-and-test": "^2.0.9",
"tailwindcss": "^3.4.17",
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default defineConfig({
v3_throwAbortReason: true,
v3_singleFetch: true,
v3_lazyRouteDiscovery: true,
v3_routeConfig: true,
},
}),
tsconfigPaths(),
Expand Down

0 comments on commit aff373d

Please sign in to comment.