Solid
Documentation
Quickstart
Installation
npm init --yes solid@latest# For the `Which template would you like to use?` prompt, select `basic`cd solid-projectnpm install
Configuration
Update your config to use route pre-rendering.
app.config.ts
import { defineConfig } from '@solidjs/start/config'export default defineConfig({ server: { prerender: { crawlLinks: true, }, },})
For more information on prerender options, please read Nitro’s documentation.
Update your site metadata with the solid-meta
library.
Deployment
Build
npm run build
Preview
npx --yes serve@latest .output/public
Deploy
npx --yes bunny-launcher@latest --interactive