Skip to content
Source
Sign inSign up
TanStack/devtools
Open History to see the last commit

README.md

32 lines965 Bytes

1# SolidStart
2​
3Everything you need to build a Solid project, powered by [`solid-start`](https://start.solidjs.com);
4​
5## Creating a project
6​
7```bash
8# create a new project in the current directory
9npm init solid@latest
10​
11# create a new project in my-app
12npm init solid@latest my-app
13```
14​
15## Developing
16​
17Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
18​
19```bash
20npm run dev
21​
22# or start the server and open the app in a new browser tab
23npm run dev -- --open
24```
25​
26## Building
27​
28Solid apps are built with _presets_, which optimise your project for deployment to different environments.
29​
30By default, `npm run build` will generate a Node app that you can run with `npm start`. To use a different preset, add it to the `devDependencies` in `package.json` and specify in your `app.config.js`.
31​
32## This project was created with the [Solid CLI](https://github.com/solidjs-community/solid-cli)