mirror of
https://github.com/furyhawk/agent_alpha.git
synced 2026-07-21 02:25:34 +00:00
- Add package.json with dependencies and scripts for development and build - Create PostCSS configuration for Tailwind CSS and autoprefixer - Implement main App component with chat functionality and message handling - Create API module for sending messages to backend - Add global CSS file with Tailwind directives and custom scrollbar styles - Set up entry point for React application in main.tsx - Define TypeScript environment types for Vite - Configure Tailwind CSS with content paths - Set up TypeScript configuration with strict settings - Configure Vite with React plugin and API proxy for development
16 lines
283 B
TypeScript
16 lines
283 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://localhost:8000",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|