- Integrated Tailwind CSS v4 and Shadcn UI components from xd-client - Adopted xd-client modern aesthetic (oklch, radial gradients, glassmorphism) - Combined with modern adaptive 3-tier navigation logic - Refactored all pages (Profile, Login, Settings, Messages, Schedule, Grades, Debts) - Enhanced ThemeProvider with dynamic Material You palette generation - Polished overall UX and animations Refs #3 Co-Authored-By: Claude <noreply@anthropic.com>
21 lines
447 B
TypeScript
21 lines
447 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/postcss';
|
|
import autoprefixer from 'autoprefixer';
|
|
import path from 'path';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
css: {
|
|
postcss: {
|
|
plugins: [tailwindcss(), autoprefixer()],
|
|
},
|
|
},
|
|
});
|