UNPKG

create-electron-shadcn-app

Version:

Create Electron Forge apps with Vite, React, Tailwind and shadcn/ui only with one command.

14 lines (11 loc) 280 B
import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import path from 'path'; export default defineConfig({ plugins: [react(),], resolve: { alias: { '@': path.resolve(__dirname, 'src'), // ajuste conforme sua estrutura real }, }, })