Skip to content

Commit e94aef6

Browse files
committed
add sveltekit example
1 parent bd8d7c8 commit e94aef6

28 files changed

+3229
-1526
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# create-svelte
22

3-
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte);
3+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
44

55
## Creating a project
66

77
If you're seeing this, you've probably already done this step. Congrats!
88

99
```bash
1010
# create a new project in the current directory
11-
npm init svelte@next
11+
npm create svelte@latest
1212

1313
# create a new project in my-app
14-
npm init svelte@next my-app
14+
npm create svelte@latest my-app
1515
```
1616

17-
> Note: the `@next` is temporary
18-
1917
## Developing
2018

2119
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
@@ -29,10 +27,12 @@ npm run dev -- --open
2927

3028
## Building
3129

32-
Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:
30+
To create a production version of your app:
3331

3432
```bash
3533
npm run build
3634
```
3735

38-
> You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
36+
You 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.

examples/sveltekit-app-template-web3/jsconfig.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)