Skip to content

Files

Latest commit

9cc24ff · Jun 26, 2025

History

History

slintpad

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 19, 2025
Oct 11, 2023
Sep 27, 2024
Nov 22, 2024
Nov 22, 2024
Nov 22, 2024
Jun 19, 2025
Sep 26, 2024
Jun 26, 2025
Nov 22, 2024
Mar 29, 2023
Nov 3, 2023
Mar 29, 2023
Oct 7, 2024

README.md

SlintPad

This directory contains the frontend code for SlintPad, the online code editor which is hosted on https://slint.dev/editor (last stable) and https://slint.dev/snapshots/master/editor (nightly).

You need to install the following components:

To try it out locally type this in this directory:

## only need to run this once
pnpm install
pnpm build:wasm_interpreter  # Build the wasm interpreter used in `preview.html`
pnpm build:wasm_lsp          # Build the wasm LSP used by the text editor

## Run this to refresh slintpad (dev mode!)
pnpm start                   # Run in development mode

## Run this to refresh slintpad (build mode!)
pnpm build                   # Build the web UI code
pnpm preview              # Start a server serving the slintpad UI

Documentation

The index.html page contains a code editor and every key press reload the preview. The preview.html page contains only the preview and the code must be given via query parameter.