trilium/apps/website
2025-06-14 12:45:34 +03:00
..
messages chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
project.inlang chore(website): add inlang to ignore 2025-06-14 11:13:30 +03:00
src chore(website): change hero section 2025-06-14 12:45:34 +03:00
static feat(website): add a basic intro into the features 2025-06-14 12:13:23 +03:00
.gitignore chore(website): add inlang to ignore 2025-06-14 11:13:30 +03:00
.npmrc chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
eslint.config.js chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
package.json chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
README.md chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
svelte.config.js chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
tsconfig.json chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00
vite.config.ts chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +03:00

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

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

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create 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.