Skip to content

Commit

Permalink
add sveltekit example
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Aug 28, 2022
1 parent bd8d7c8 commit e94aef6
Show file tree
Hide file tree
Showing 28 changed files with 3,229 additions and 1,526 deletions.
14 changes: 7 additions & 7 deletions examples/sveltekit-app-template-web3/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
# create-svelte

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

## Creating a project

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

```bash
# create a new project in the current directory
npm init svelte@next
npm create svelte@latest

# create a new project in my-app
npm init svelte@next my-app
npm create svelte@latest my-app
```

> Note: the `@next` is temporary
## Developing

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

## Building

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

```bash
npm run build
```

> 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.
You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
10 changes: 0 additions & 10 deletions examples/sveltekit-app-template-web3/jsconfig.json

This file was deleted.

Loading

0 comments on commit e94aef6

Please sign in to comment.