Build an app with SolidStart and Bun
Initialize a SolidStart app with create-solid. Pass the --solidstart flag to create a SolidStart project and --ts for TypeScript support. When prompted for a SolidStart version, select 2 (Stable). When prompted for a template, select basic for a minimal starter app.
terminal
bun create solid my-app --solidstart --ts┌
Create-Solid v0.9.0
│
◇ Which version of SolidStart?
│ 2 (Stable)
│
◇ Which template would you like to use?
│ basic
│
◇ Project created 🎉
│
◇ To get started, run: ─╮
│ │
│ cd my-app │
│ bun install │
│ bun dev │
│ │
├────────────────────────╯Install the dependencies.
terminal
cd my-app
bun installThen run the development server with bun dev.
terminal
bun dev$ vite dev
VITE v8.1.4 ready in 818 ms
➜ Local: http://localhost:3000/
➜ Network: use --host to exposeOpen localhost:3000. The development server automatically hot-reloads changes you make to src/routes/index.tsx.
See the SolidStart docs to learn more.