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

app.config.ts

20 lines439 Bytes

1import { defineConfig } from '@tanstack/react-start/config'
2import viteTsConfigPaths from 'vite-tsconfig-paths'
3import tailwindcss from '@tailwindcss/vite'
4​
5const config = defineConfig({
6 tsr: {
7 appDirectory: 'src',
8 },
9 vite: {
10 plugins: [
11 // this is the plugin that enables path aliases
12 viteTsConfigPaths({
13 projects: ['./tsconfig.json'],
14 }),
15 tailwindcss(),
16 ],
17 },
18})
19​
20export default config