This repository has been archived on 2025-06-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
server/qa/ui
Renovate Bot b713eba2a5
All checks were successful
continuous-integration/drone/push Build is passing
chore(deps): lock file maintenance
2025-03-31 02:31:11 +00:00
..
src qa: Improve work assignation 2025-01-14 10:45:01 +01:00
static qa-svelte: initial commit 2024-04-19 11:46:51 +02:00
.eslintrc.cjs qa-svelte: initial commit 2024-04-19 11:46:51 +02:00
.gitignore qa: svelte-migrate: renamed files 2024-04-19 11:46:51 +02:00
.prettierrc qa-svelte: initial commit 2024-04-19 11:46:51 +02:00
jsconfig.json qa: migration to SvelteKit 2 + Sveltestrap 6 2024-04-19 11:48:58 +02:00
package-lock.json chore(deps): lock file maintenance 2025-03-31 02:31:11 +00:00
package.json chore(deps): update dependency eslint-plugin-svelte to v3 2025-03-28 08:25:55 +00:00
README.md qa-svelte: initial commit 2024-04-19 11:46:51 +02:00
svelte.config.js chbase: Use same strategy for relative paths as qa 2024-04-19 11:48:55 +02:00
vite.config.js ui: Improve dev by specifying hmr port 2025-01-13 20:21:03 +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@next

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

Note: the @next is temporary

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

Before creating a production version of your app, install an adapter for your target environment. Then:

npm run build

You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.