This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Renovate Bot 11e6ccdabc
Some checks failed
continuous-integration/drone/push Build is failing
chore(deps): lock file maintenance
2024-03-04 00:23:28 +00:00
src Migrate to svelte 4 + sveltestrap 2024-01-05 10:34:53 +01:00
.drone.yml Use node 21 2024-01-05 10:51:12 +01:00
.eslintrc.cjs Initial commit 2022-04-15 14:33:06 +02:00
.gitignore Initial commit 2022-04-15 14:33:06 +02:00
.npmrc Initial commit 2022-04-15 14:33:06 +02:00
.prettierrc Initial commit 2022-04-15 14:33:06 +02:00
jsconfig.json Initial commit 2022-04-15 14:33:06 +02:00
package-lock.json chore(deps): lock file maintenance 2024-03-04 00:23:28 +00:00
package.json Migrate to svelte 4 + sveltestrap 2024-01-05 10:34:53 +01:00
README.md Initial commit 2022-04-15 14:33:06 +02:00
renovate.json renovatebot: Extends from local presets 2023-05-09 09:04:15 +00:00
svelte.config.js Site done 2022-04-17 11:45:09 +02:00
vite.config.js svelte-migrate: updated files 2022-12-15 13:37:16 +01:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

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

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.