Follow these steps to build your theme’s files with the Build task. Note that this task only works for themes that use the liferay JS Theme Toolkit, such as those created with the Liferay Theme Generator.
Navigate to your theme’s root folder and run
gulp buildtask generates the base theme files (in the
buildfolder), compiles Sass into CSS, and compresses all theme files into a
.warfile (in the
distfolder), that you can deploy to your server. Copy any of these files and folders to your theme’s
srcfolder to modify them.
warfile to your app server to make it available.