chore: remove '/docs' base path references from vite.config.ts and router.tsx
This commit is contained in:
@@ -4,7 +4,6 @@ import { routeTree } from './routeTree.gen';
|
|||||||
|
|
||||||
export function getRouter() {
|
export function getRouter() {
|
||||||
return createTanStackRouter({
|
return createTanStackRouter({
|
||||||
basepath: '/docs',
|
|
||||||
defaultNotFoundComponent: NotFound,
|
defaultNotFoundComponent: NotFound,
|
||||||
defaultPreload: 'intent',
|
defaultPreload: 'intent',
|
||||||
routeTree,
|
routeTree,
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite';
|
|||||||
import tsConfigPaths from 'vite-tsconfig-paths';
|
import tsConfigPaths from 'vite-tsconfig-paths';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/docs/',
|
|
||||||
server: {
|
server: {
|
||||||
port: 3000
|
port: 3000
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user