chore: scaffold turbo monorepo with hono api and react admin web

This commit is contained in:
Jose Selesan
2026-10-15 15:24:34 -03:00
commit 2b1d2152c4
89 changed files with 4996 additions and 0 deletions

25
apps/web/vite.config.ts Normal file
View File

@@ -0,0 +1,25 @@
import path from 'node:path'
import tailwindcss from '@tailwindcss/vite'
import { tanstackRouter } from '@tanstack/router-plugin/vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
const srcDir = path.resolve(import.meta.dirname, './src')
export default defineConfig({
plugins: [
// Must run before react(): it watches `src/routes` and generates `routeTree.gen.ts`.
tanstackRouter({ target: 'react', autoCodeSplitting: true }),
react(),
tailwindcss(),
],
resolve: {
alias: {
'@': srcDir,
},
},
server: {
port: 5173,
},
})