Skip to content

Commit

Permalink
slintpad: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
hunger committed Mar 29, 2023
1 parent 08d0096 commit c00afe5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tools/online_editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ https://slint-ui.com/snapshots/master/editor (nightly).
To try it out locally type this in this directory:

```sh
npm install
npm start
## only need to run this once
npm run build:wasm_preview # Build the wasm interpreter used by the preview
npm run build:wasm_lsp # Build the wasm LSP used by the text editor

## Run this to refresh slintpad
npm run build # Build the web UI code
cp -r ../../api/wasm-interpreter/pkg dist/wasm-interpreter # To make the LSP available
npx vite preview # Start a server serving the slintpad UI
```

## Documentation
Expand Down

0 comments on commit c00afe5

Please sign in to comment.