Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Svelte: Install, run & build the front-end

The front-end is a Svelte project that generates into static files. It’s based on create-svelte, which is viewable on the repo.

Install

git clone https://github.com/osoc22/project-idlab.git
cd project-idlab/svelte/
npm install

Usage

  • npm run dev - start a dev server with auto-reload, useful whilst coding.
  • npm run build - builds the Svelte project into the build/ directory, useful for deployment.

Important notes: