Open nick4814 opened 5 days ago
Currently I can't use Farm as I require Vite-like client functionality. I am working on backend integration and there are no plugins for my framework.
https://vitejs.dev/guide/backend-integration.html#backend-integration
With Vite I would:
@vite/client
Example HTML:
This does not currently exist in Farm, but does in Vite. See https://vitejs.dev/guide/backend-integration.html#backend-integration.
Proposed:
Template repos with some modern backend framework like Hono, Fastify or Elisya could be really helpful.
What problem does this feature solve?
Currently I can't use Farm as I require Vite-like client functionality. I am working on backend integration and there are no plugins for my framework.
https://vitejs.dev/guide/backend-integration.html#backend-integration
With Vite I would:
@vite/client
script to the HTML page when in dev mode.Example HTML:
What does the proposed API look like?
This does not currently exist in Farm, but does in Vite. See https://vitejs.dev/guide/backend-integration.html#backend-integration.
Proposed: