chore: update vercel.json for new /docs routing and set base path in vite.config.ts and router.tsx

This commit is contained in:
Rotimi Best
2025-12-21 21:44:57 +00:00
parent b4e975bcd3
commit 2591dad3de
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ import { routeTree } from './routeTree.gen';
export function getRouter() {
return createTanStackRouter({
basepath: '/docs',
defaultNotFoundComponent: NotFound,
defaultPreload: 'intent',
routeTree,
+1
View File
@@ -7,6 +7,7 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite';
import tsConfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
base: '/docs/',
server: {
port: 3000
},