Develop locally
How to build your JavaScript app
It is possible to develop your JavaScript code locally and test it in your app. To do this you need to have a development environment featuring an HTTP server.
- Start your development server, for example, when using Vite run:
npm run dev
- Copy the URL of your server. Vite uses as default:
http://localhost:3000

- Open your app in the designer and open the JavaScript block.
- Enable Development Mode by ticking the checkbox in the right side panel.
- Enter the Development URL.
- Save your changes.
- Click on the JavaScript block to reload.

Last modified 9mo ago