@void/solid
v0.27.0
Published
SolidJS pages, server rendering, forms, and navigation for Void.
Readme
@void/solid
Solid adapter for Void. Build server-rendered pages with typed server loaders, forms, layouts, and interactive islands.
Setup
For a new app, run npx void init and choose Solid. To add the adapter to an existing Void app:
npm install @void/solidAdd the adapter to your Vite config. It includes the framework's Vite plugin:
import { voidSolid } from '@void/solid/plugin';
import { defineConfig } from 'vite';
import { voidPlugin } from 'void';
export default defineConfig({
plugins: [voidPlugin(), voidSolid()],
});Documentation
Follow Pages Routing to add pages, then use loaders, forms, and layouts. See the adapter API reference for plugin options and runtime helpers.
Read the Void documentation online or use the Markdown guides and references in node_modules/void/docs/, included with the void package.
