mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
![]() Re-use the wasm interpreter from the web site when building for the web site. It's built & copied in the CI at the same time, and we can convince rollup to preserve the relative link for production builds, while aliasing to the local directory for dev builds. This brings down the editor to ~2.3MB on my machine. |
||
---|---|---|
.. | ||
.gitignore | ||
highlighting.ts | ||
index.html | ||
index.ts | ||
package.json | ||
preview.html | ||
preview.ts | ||
README.md | ||
tsconfig.json | ||
vite.config.js |
This directory contains the frontend code for the online code editor which is hosted in https://sixtyfps.io/editor
To try it out locally type this in this directory:
npm install
npm start