@solid-mediakit/forms-plugin
v1.0.1
Published
Package for easily creating server rpc functions in solid-start with goodies baked in
Downloads
9
Readme
@solid-mediakit/forms-plugin
A Vite plugin for MediaKit Forms
Installation
pnpm install @solid-mediakit/forms-plugin
Adding The Vite Plugin
Go ahead to app.config.ts
and add the following:
import { defineConfig } from '@solidjs/start/config'
import { formsPlugin } from '@solid-mediakit/forms-plugin'
export default defineConfig({
ssr: true,
vite: {
plugins: [formsPlugin()],
},
})