git clone [email protected]:grpc/grpc-web.git
you might need sudo apt-get install libprotoc-dev
sudo make install-plugin
- (this installs the protoc-gen-grpc-web)
You can now generate the code using protoc
Install the latest grpc-web runtime as a local npm package by linking it
cd packages/grpc-web
npm install
npm run prepare
yarnk link
yarn link grpc-web