server/qa/ui
Renovate Bot 0c61fa29cd
Some checks failed
continuous-integration/drone/push Build is failing
chore(deps): lock file maintenance
2024-09-23 15:15:19 +02:00
..
src qa: Refactor work attribution 2024-09-23 15:11:42 +02: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 2024-09-23 15:15:19 +02:00
package.json chore(deps): update dependency eslint to v9 2024-06-19 11:37:42 +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 qa: Update node modules 2024-04-19 11:46:51 +02: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.