protoc-gen-svelte-rpc Svelte Themes

Protoc Gen Svelte Rpc

proto plugin that will generate svelte components for input and output of protoc methods

protoc-gen-svelte-rpc

work in progress. Intended to be used with a server that supports connect protocol.

relies upon

  • connect-web
  • connect-es

will generate

  • svelte components for all messages in a proto file (input + view components).
  • svelte component for all methods in a proto file
  • svelte route/+page.svelte file for all methods (viewable in svelte app at /{{MethodName}})

Supported features

fieldKind supported Repeated nested
scalar :white_check_mark: :white_check_mark: :white_check_mark:
message :white_check_mark: :white_check_mark: :white_check_mark:
enum :white_check_mark: :x: :white_check_mark:
oneof :white_check_mark: :moyai: :white_check_mark:
maps :x: :moyai: :x:

:moyai: indicates it is unsupported by proto feature see proto-guide

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes