Skip to content

Commit 6129e22

Browse files
committed
Initial commit
0 parents  commit 6129e22

26 files changed

+1663
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# sveltekit
2+
3+
This repo contains code for a SvelteKit application generated using the [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte) package.
4+
5+
To create your own SvelteKit project, you can either
6+
7+
- [Create your own repo from this template](https://github.com/render-examples/sveltekit/generate) and modify it for your needs
8+
- Create a new SvelteKit project by following the [SvelteKit Getting Started Guide](https://kit.svelte.dev/docs) and then making a few small modifications as shown in [this commit](https://github.com/render-examples/sveltekit/commit/3ea50803f118da041745fd8cb51094972ac87f3c) to deploy it to Render as a Node.js service.
9+
10+
## Developing
11+
12+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
13+
14+
```bash
15+
npm run dev
16+
17+
# or start the server and open the app in a new browser tab
18+
npm run dev -- --open
19+
```
20+
21+
## Building
22+
23+
```bash
24+
npm run build
25+
```
26+
27+
> You can preview the built app with `npm run preview`. This should _not_ be used to serve your app in production.
28+
29+
## Deploying to Render
30+
31+
Follow the deploy instructions at https://render.com/docs/deploy-sveltekit

jsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"$lib": ["src/lib"],
6+
"$lib/*": ["src/lib/*"]
7+
}
8+
},
9+
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
10+
}

0 commit comments

Comments
 (0)