My website
Go to file
2024-07-11 15:54:27 +03:00
src chore: init svelte project 2024-07-11 15:51:49 +03:00
static chore: init svelte project 2024-07-11 15:51:49 +03:00
.gitignore chore: init svelte project 2024-07-11 15:51:49 +03:00
.npmrc chore: init svelte project 2024-07-11 15:51:49 +03:00
.prettierignore chore: init svelte project 2024-07-11 15:51:49 +03:00
.prettierrc chore: init svelte project 2024-07-11 15:51:49 +03:00
bun.lockb build: use bun adapter 2024-07-11 15:54:27 +03:00
eslint.config.js chore: init svelte project 2024-07-11 15:51:49 +03:00
LICENSE Change LICENSE to MIT 2020-10-02 15:16:31 +00:00
package.json build: use bun adapter 2024-07-11 15:54:27 +03:00
README.md chore: init svelte project 2024-07-11 15:51:49 +03:00
svelte.config.js build: use bun adapter 2024-07-11 15:54:27 +03:00
tsconfig.json chore: init svelte project 2024-07-11 15:51:49 +03:00
vite.config.ts chore: init svelte project 2024-07-11 15:51:49 +03: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 create svelte@latest

# create a new project in my-app
npm create svelte@latest 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.