{"title":"Compiling the code deployed in pages and nodes","description":"Compiling the code is done by clicking the compile button","keywords":"code,software,compile,page,node"}

Compile the code of a project

The last icon at the top right shows the menu that allows you to select how to compile the project.
It is possible to compile the entire project or only the modified pages.
Panels - Changing the SVG properties

Code compilation stages

If the project has never been saved yet, you will be asked to select the folder in which to save it,
otherwise it will be automatically saved.
After saving, the project is compiled, thus creating a file for each page.

If the project has never been compiled yet, or the distribution root folder has not yet been defined,
you will be prompted to select the project deployment root folder.

The image below shows an example where the "dist" folder has been defined as the root of the build.
Each of the Javascript files created by the compiler was a Javascript page with the "page dir target" property set to: "resources/js".

Panels - Changing the SVG properties