We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba8da3 commit b7577cbCopy full SHA for b7577cb
src/router/index.tsx
@@ -29,8 +29,6 @@ const router = createBrowserRouter([
29
},
30
],
31
32
-], {
33
- basename: process.env.NODE_ENV === 'production' ? '/react-template' : '/'
34
-})
+])
35
36
export default router
vite.config.ts
@@ -6,7 +6,6 @@ import tailwindcss from "@tailwindcss/vite"
6
// https://vite.dev/config/
7
export default defineConfig({
8
plugins: [react(), tailwindcss()],
9
- base: process.env.NODE_ENV === 'production' ? '/react-template/' : '/',
10
resolve: {
11
alias: {
12
"@": fileURLToPath(new URL("./src", import.meta.url)),
0 commit comments