Remote procedure call for client-server communication in Vite plugins
npm install vite-dev-rpc
Remote procedure call for client-server communication in Vite plugins.
> Requires Vite ^2.9.0-beta.9
Based on
- birpc - Message-based two-way remote procedure call.
- vite-hot-client - Get import.meta.hot at runtime.
- import.meta.hot.send API in Vite 2.9 - Server-client communication support.
MIT License © 2021 Anthony Fu