Files
Rpa_Skills/skills/rpa-dashboard-ai/templates/web/vite.config.ts
T

11 lines
413 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
base: './', // relative asset paths, so the built page works under any URL prefix
// `npm run dev`: the backend (or server_stub.py) answers /api on port 8000.
server: { proxy: { '/api': 'http://127.0.0.1:8000' } },
})