mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
21 lines
806 B
Markdown
21 lines
806 B
Markdown
# Svelte
|
|
|
|
This directory is a brief example of a [Svelte](https://svelte.dev/) site that can be deployed to Vercel with zero-configuration. If you need to use API Routes, we recommend using our [SvelteKit example](https://github.com/vercel/vercel/tree/main/examples/sveltekit).
|
|
|
|
## Deploy Your Own
|
|
|
|
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/vercel/tree/main/examples/svelte&template=svelte)
|
|
|
|
_Live Example: https://svelte.vercel.app_
|
|
|
|
## Getting Started
|
|
|
|
```bash
|
|
npx degit sveltejs/template my-svelte-project
|
|
cd my-svelte-project
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
Navigate to [localhost:8080](http://localhost:8080). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.
|