- Add package.json with dependencies for TanStack, HeroUI, and Vite. - Include favicon, logos, and manifest for PWA support. - Create global styles with Tailwind CSS and HeroUI. - Set up TypeScript configuration for the project. - Implement routing with TanStack Router and context for React Query. - Create root and index routes with basic application structure. - Add integration files for HeroUI and TanStack Query. - Configure Vite with necessary plugins for React and Tailwind CSS.
21 lines
486 B
TypeScript
21 lines
486 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import viteReact from '@vitejs/plugin-react'
|
|
import viteTsConfigPaths from 'vite-tsconfig-paths'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
const config = defineConfig({
|
|
plugins: [
|
|
viteTsConfigPaths({
|
|
projects: ['./tsconfig.json'],
|
|
}),
|
|
tailwindcss(),
|
|
tanstackStart({
|
|
customViteReactPlugin: true,
|
|
}),
|
|
viteReact(),
|
|
],
|
|
})
|
|
|
|
export default config
|