Develop locally
How to build your JavaScript app
Last updated
How to build your JavaScript app
Last updated
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.
We recommend using a build/development tool like Vite, it is an easy to use development environment for all kinds of frameworks. It offers support to easily create PWAs, and more. It is not required to use Vite, you can also use your own setup that hosts a development HTTP server.
Start your development server, for example, when using Vite run:
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.