hmr-proxy
v1.0.3
Published
A Vite and other tools proxy with HMR
Readme
Vite proxy
Dependency
Install dependency:
bun i hmr-proxyConfigure the proxy:
vim .vpconfig.json{
"routes": {
"/app1": "http://localhost:8001'",
"/app2": "http://localhost:8002"
},
"port": 5000
}Run the proxy:
vite-proxyProject
Install dependencies:
bun iSet up the schema:
cp .vpconfig.example.json .vpconfig.jsonvim .vpconfig.jsonRun the proxy:
bun run start