Everything you need to build a Solid project, powered by solid-start
;
# create a new project in the current directory
bun init solid@latest
# create a new project in my-app
bun init solid@latest my-app
Once you've created a project and installed dependencies with bun install
, start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --open
Solid apps are built with presets, which optimise your project for deployment to different environments.
By default, bun run build
will generate a Node app that you can run with bun start
. To use a different preset, add it to the devDependencies
in package.json
and specify in your app.config.{js|ts}
.