Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

vite.config.js

9 lines279 Bytes

1import { defineConfig } from 'vite'
2import react from '@vitejs/plugin-react'
3import { tanstackRouter } from '@tanstack/router-plugin/vite'
4​
5// https://vitejs.dev/config/
6export default defineConfig({
7 base: '/app/',
8 plugins: [tanstackRouter({ target: 'react' }), react()],
9})