server/qa/ui
Renovate Bot 77cdfdb355
continuous-integration/drone/push Build is passing Details
chore(deps): lock file maintenance
2024-04-19 11:49:00 +02:00
..
src qa: Fix load functions not awaited since SvelteKit 2 2024-04-19 11:48:58 +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
README.md 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-04-19 11:49:00 +02:00
package.json qa: migration to SvelteKit 2 + Sveltestrap 6 2024-04-19 11:48:58 +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

README.md

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.