The gulp build
task generates the base theme files, compiles Sass into CSS,
and zips all theme files into a WAR file that you can deploy to your server.
Follow these steps to build your theme’s files:
-
Navigate to your theme’s root folder and run
gulp build
.Figure 1: Run the `gulp build` task to build your theme's files.
-
A new
build
folder is created with all your theme’s files. You can copy these files and folders to your theme’ssrc
folder to modify the theme.Figure 2: The build folder contains all your theme's files.
-
Your theme’s files are zipped into a
war
file in a newdist
folder. Deploy thewar
file to your app server to make it available.
Figure 3: The dist folder contains your theme's WAR file.
Related Topics
Automatically Deploying Theme Changes