mirror of
https://github.com/multica-ai/multica.git
synced 2026-06-17 03:38:32 +02:00
- Add fake vite.config.ts to support shadcn CLI detection - Configure path aliases (@/*) in tsconfig files - Add components.json for shadcn configuration - Install shadcn dependencies (clsx, tailwind-merge, etc.) - Add Button component and replace MessageInput buttons - Update CSS with shadcn design tokens Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
452 B
TypeScript
17 lines
452 B
TypeScript
// 这是一个假的配置文件,用于骗过 shadcn CLI
|
|
// 真正的配置在 electron.vite.config.ts
|
|
import { resolve } from 'path'
|
|
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@renderer': resolve('src/renderer/src'),
|
|
'@': resolve('src/renderer/src')
|
|
}
|
|
},
|
|
plugins: [react(), tailwindcss()]
|
|
})
|