This repo contains code for a SvelteKit static site generated using the create-svelte
package.
To create your own SvelteKit project, you can either
@sveltejs/adapter-static
, configure render.yaml
) to deploy it to Render as a Static Site.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