Server side rendering
Usage with SolidStart
If you are using SolidStart you will need to add the ssr setting to your vite.config.ts
:
ts
import solid from "solid-start/vite";import { defineConfig } from "vite";export default defineConfig({plugins: [solid()],ssr: {noExternal: ["@kobalte/pigment"],},});
ts
import solid from "solid-start/vite";import { defineConfig } from "vite";export default defineConfig({plugins: [solid()],ssr: {noExternal: ["@kobalte/pigment"],},});