testing
962 bytes
1
# sv3
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).5
## Creating a project7
If you're seeing this, you've probably already done this step. Congrats!9
```sh10
# create a new project11
npx sv create my-app12
```14
To recreate this project with the same configuration:16
```sh17
# recreate this project18
bun x sv@0.17.0 create --template demo --types ts --install bun better-hub-test-prods19
```21
## Developing23
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:25
```sh26
npm run dev28
# or start the server and open the app in a new browser tab29
npm run dev -- --open30
```32
## Building34
To create a production version of your app:36
```sh37
npm run build38
```40
You can preview the production build with `npm run preview`.42
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.