Skip to content

Pre-requisites

Node

We have built easy-to-setup development environments thanks to vscode dev containers.

Read the NodeJS Environment Repository’s README for more information.

Svelte

Everything you need to build a Svelte project, powered by create-svelte.

Here are the main steps :

  1. Creating a project

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

    Terminal
    # create a new project in the current directory
    npm create svelte@latest
  2. Developing

    Once you’ve created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

    Terminal
    npm run dev
  3. Building

    To create a production version of your app:

    Terminal
    npm run build
    Terminal
    # You can preview the production build with `npm run preview`
    npm run preview

    To deploy your app, you may need to install an adapter for your target environment.