tubapi-node/README.md
Cesar Mendivil b0e088b9de feat: integrate Vite for frontend development and build process
- Added Vite scripts for development, build, and preview in package.json
- Created README.md with instructions for frontend setup
- Added client/index.html as the main entry point for the frontend
- Implemented client/src/main.js for handling file uploads and UI interactions
- Added client/src/styles.css for styling the frontend components
- Configured Vite in vite.config.js for building the frontend assets
2026-03-21 20:27:18 -07:00

533 B

Frontend build (Vite)

  • Development: run npm run frontend:dev in the project root, which starts Vite. Open the dev server URL printed by Vite (usually http://localhost:5173) and the backend at http://localhost:8282.
  • Build: run npm run frontend:build which outputs files to dist/. The Express server will serve dist/index.html at /admin once dist/ exists.

Notes:

  • Install dev dependencies with npm install before running the scripts.
  • The Vite build includes @vitejs/plugin-legacy for broader browser support.