Skip to content

Initialize a SolidStart app with create-solid. You can specify 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.

sh
bun create solid my-app --solidstart --ts
txt

 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               │
│                        │
├────────────────────────╯

As instructed by the create-solid CLI, install the dependencies.

sh
cd my-app
bun install

Then run the development server with bun dev.

sh
bun dev
txt
$ vinxi dev
vinxi v0.5.8
vinxi starting dev server

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

Open localhost:3000. Any changes you make to src/routes/index.tsx will be hot-reloaded automatically.


Refer to the SolidStart website for complete framework documentation.

Bun by www.bunjs.com.cn edit