Frontend build (Vite)
- Development: run
npm run frontend:devin the project root, which starts Vite. Open the dev server URL printed by Vite (usually http://localhost:5173) and the backend athttp://localhost:8282. - Build: run
npm run frontend:buildwhich outputs files todist/. The Express server will servedist/index.htmlat/adminoncedist/exists.
Notes:
- Install dev dependencies with
npm installbefore running the scripts. - The Vite build includes
@vitejs/plugin-legacyfor broader browser support.
Description
Languages
JavaScript
100%