This repo contains code for a SvelteKit application generated using the create-svelte
package.
To create your own SvelteKit project, you can either
- Create your own repo from this template and modify it for your needs
- Create a new SvelteKit project by following the SvelteKit Getting Started Guide and then making a few small modifications as shown in this commit to deploy it to Render as a Node.js service.
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
npm run build
You can preview the built app with
npm run preview
. This should not be used to serve your app in production.
Follow the deploy instructions at https://render.com/docs/deploy-sveltekit