Vite + React + TS + Tailwind v4, runtime config.js and base-href contract (same shape as HDFC-Loan-Desk). Dealer: home, place order with the scheme engine live beside the form (query-kind record views over simulate()), orders with the Advisor's advice and one-click confirm-as-advised, schemes with progress to the next slab, incentives. Supplier: clusters + near-slab sweeps, dealers and dealer 360, advisories, scheme catalogue with draft → Analyst costing → approval, settlement runs with release/hold. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
14 lines
506 B
TypeScript
14 lines
506 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
// Relative base: asset refs become "./assets/…", so the <base href> the server
|
|
// writes at placement decides where they resolve. One build serves any mount
|
|
// path. Do NOT reintroduce a build-time base — the artifact is promoted between
|
|
// environments unchanged.
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
base: './',
|
|
server: { port: 5175 },
|
|
});
|