@solid-mediakit/prpc-plugin
v1.3.4
Published
Package for easily creating server rpc functions in solid-start with goodies baked in
Downloads
115
Readme
@solid-mediakit/prpc-plugin
A Vite plugin for pRPC
Installation
pnpm install @solid-mediakit/prpc-plugin
Adding The Vite Plugin
Go ahead to app.config.ts
and add the following:
import { defineConfig } from '@solidjs/start/config'
import { prpcVite } from '@solid-mediakit/prpc-plugin' // ->
export default defineConfig({
ssr: true,
vite: {
plugins: [prpcVite({ log: false })], // ->
},
})
Now read the pRPC documentation