I have just finished setting up a VueJS application that includes TypeScript functionality.
After running the command:
protoc -I=. service.proto --js_out=import_style=typescript:. --grpc web_out=import_style=typescript,mode=grpcwebtext:.
I now have these files:
https://i.sstatic.net/SeUy8.png
However, when I move them to src/_protos
in my VueJS project and attempt to
import { PlatformClient } from '@/_protos/ServiceServiceClientPb';
, it throws an error:
Failed to compile.
./src/_protos/ServiceServiceClientPb.ts
Module not found: Error: Can't resolve './service_pb' in '/Users/theobouwman/dev/woodyshousing/woody_web/src/_protos'
Any ideas on why this might be happening?