Hi Alon, it seemed a bit strange to me that you've decided to write your own bundling system instead of utilizing npm/yarn/pnpm (I went with pnpm in this pull request) with vite, the bundling tool introduced and maintained by vue team, so I decided to build this minimal example so that it's easier for you to evaluate it makes sense for you to use it in the future.
! I have not tested it with a running backend.
in web/app/:
dev environment with hmr:
pnpm install
pnpm run dev
production build:
pnpm install
pnpm run build
This may also be extended with following improvements:
version locking (pnpn-lock.yaml in this case)
TypeScript (tsc)
Where data types are also often provided from the community, e. g.
My initial rationale was to keep it simple, and not require build dependencies. But, the web/app has grown since its inception so it might be time to reconsider.
Hi Alon, it seemed a bit strange to me that you've decided to write your own bundling system instead of utilizing npm/yarn/pnpm (I went with pnpm in this pull request) with vite, the bundling tool introduced and maintained by vue team, so I decided to build this minimal example so that it's easier for you to evaluate it makes sense for you to use it in the future.
! I have not tested it with a running backend.
in
web/app/
: dev environment with hmr:production build:
This may also be extended with following improvements: