Skip to content

Commit 62394be

Browse files
authored
Update README.md
1 parent 80b5490 commit 62394be

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed

README.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,11 @@
1-
# SolidStart
1+
# Setup
22

3-
Everything 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
9-
npm init solid@latest
10-
11-
# create a new project in my-app
12-
npm init solid@latest my-app
133
```
14-
15-
## Developing
16-
17-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
18-
19-
```bash
20-
npm run dev
21-
22-
# or start the server and open the app in a new browser tab
23-
npm run dev -- --open
4+
pnpm i
5+
pnpm start
246
```
257

26-
## Building
27-
28-
Solid apps are built with _presets_, which optimise your project for deployment to different environments.
29-
30-
By 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://solid-cli.netlify.app)
8+
run with SSR
9+
```
10+
pnpm serve
11+
```

0 commit comments

Comments
 (0)