Update README.md
This commit is contained in:
parent
d94a520ec0
commit
dfc210bd6a
30
README.md
30
README.md
|
@ -1,28 +1,18 @@
|
||||||
# SvelteKit
|
# statpixel
|
||||||
|
|
||||||
Example project using SvelteKit with the [SpaceX GraphQL API](https://api.spacex.land/graphql/), deployed to [Vercel](https://vercel.com).
|
thingy with sveltekit
|
||||||
|
|
||||||
## Deploy Your Own
|
hosted on [vercel](https://now.sh)
|
||||||
|
|
||||||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fvercel%2Ftree%2Fmain%2Fexamples%2Fsveltekit&project-name=sveltekit-vercel&repository-name=sveltekit-vercel&demo-title=SvelteKit%20%2B%20Vercel&demo-description=SvelteKit%20app%20fetching%20data%20from%20the%20SpaceX%20GraphQL%20API.&demo-url=https%3A%2F%2Fsveltekit.examples.vercel.com%2F&demo-image=https%3A%2F%2Fsveltekit.examples.vercel.com%2Ftwitter.png)
|
## running
|
||||||
|
|
||||||
_Live Example: https://sveltekit.examples.vercel.com_
|
```
|
||||||
|
npm i
|
||||||
## Developing
|
npm run dev -- # add --open if you want it to open in a new browser tab
|
||||||
|
|
||||||
Once you've created a project and installed dependencies with `npm install`, start a development server:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run dev
|
|
||||||
|
|
||||||
# or start the server and open the app in a new browser tab
|
|
||||||
npm run dev -- --open
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
### building
|
||||||
|
```
|
||||||
This uses the [Vercel Adapter](https://github.com/sveltejs/kit/tree/master/packages/adapter-vercel) for SvelteKit.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue