Use dev mode to develop fast, utilize the hot-module-replacement from Vite.
yarn install(yarn is a must since we're using yarn workspace)- Start back-end:
nx serve api-app - Start web-app:
nx serve web-appOR desktop-app:nx serve desktop-app
Use the preview mode to see the client applications (web-app, desktop-app) as how they look like after the code is compiled/bundled for distribution.
nx preview web-app(you need to start api-app manually)nx preview desktop-app(api-app will be auto built and start)
nx build front-endnx build:mac desktop-app(replacebuild:macbybuild:winorbuild:linuxas your needs)- Open
apps/desktop-app/distto get the executable desktop application.
