Runtime
Bundler
Package Manager
Test Runner
Guides
Reference
Blog
Install Bun
Guides Ecosystem & Frameworks

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 template, select basic for a minimal starter app.

terminal
$ bun create solid my-app --solidstart --ts

┌
 Create-Solid v0.6.11
│
◇  Project Name
│  my-app
│
◇  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 install

Then run the development server with bun dev.

terminal
$ bun dev
$ vinxi dev
vinxi v0.5.8
vinxi starting dev server

  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

Open localhost:3000. Changes you make to src/routes/index.tsx are hot-reloaded automatically.


See the SolidStart docs to learn more.

On this page

No Headings