- Refactored Skeleton component to include data-slot attribute and updated class names. - Enhanced Switch component with size prop and improved styling. - Updated Tooltip components to include data-slot attributes and improved styling. - Refactored global CSS to use custom properties for theming and improved dark mode support. - Added useIsMobile hook for responsive design handling. - Updated IPC link implementation for tRPC in Electron. - Adjusted ProjectsPage layout for better responsiveness. - Removed outdated Tailwind configuration file and integrated Tailwind CSS with Vite.
23 lines
564 B
TypeScript
23 lines
564 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { TanStackRouterVite } from '@tanstack/router-vite-plugin';
|
|
import path from 'path';
|
|
|
|
// https://vitejs.dev/config
|
|
export default defineConfig({
|
|
plugins: [
|
|
tailwindcss(),
|
|
react(),
|
|
TanStackRouterVite({
|
|
routesDirectory: './src/renderer/routes',
|
|
generatedRouteTree: './src/renderer/routeTree.gen.ts',
|
|
}),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src/renderer'),
|
|
},
|
|
},
|
|
});
|