Skip to content

Commit

Permalink
add router
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehobbs committed Jan 16, 2024
1 parent 324623b commit 93fc047
Show file tree
Hide file tree
Showing 11 changed files with 2,753 additions and 2,048 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ module.exports = {
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
ignorePatterns: ["dist", ".eslintrc.cjs", "src/routeTree.gen.ts"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
};
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="/src/app.tsx"></script>
</body>
</html>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@radix-ui/react-radio-group": "^1.1.3",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@tanstack/react-router": "^1.4.7",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.309.0",
Expand All @@ -31,6 +32,7 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@tanstack/router-vite-plugin": "^1.4.6",
"@types/node": "^20.11.2",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
Expand All @@ -40,7 +42,6 @@
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.33",
"prettier": "^3.2.2",
"tailwindcss": "^3.4.1",
Expand Down
Loading

0 comments on commit 93fc047

Please sign in to comment.