Skip to main content

Custom Compilation

Developers can click the compile button of the toolbar to compile the current code and the devtools will refresh the simulator automatically.

In addition, developers can add or select a custom compilation conditions to preview the compilation of your project code. This helps developers debug issues by entering a specific page from different scene values.

custom compilation

Note: Compilation conditions are related to projects, and each project can save its own compilation conditions.

create custom compilationFields: - Mode Name: The name for current compilation, such as: `test` - Startup Page: The entry page path of the compilation, such as: `pages/test` - Parameters: The query string will append to startup page, such as: `name=nezha&type=mp` - Enter Scene: The Scene value of mini project when you launch - Launch Options: Switch the simulator update at next refreshscene values