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