Open History to see the last commit
1# create-svelte
2β
3Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
4β
5## Creating a project
6β
7If you're seeing this, you've probably already done this step. Congrats!
8β
9```bash
10# create a new project in the current directory
11npm create svelte@latest
12β
13# create a new project in my-app
14npm create svelte@latest my-app
15```
16β
17## Developing
18β
19Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20β
21```bash
22npm run dev
23β
24# or start the server and open the app in a new browser tab
25npm run dev -- --open
26```
27β
28## Building
29β
30To create a production version of your app:
31β
32```bash
33npm run build
34```
35β
36You can preview the production build with `npm run preview`.
37β
38> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.