Modern web applications are often based around build tools. This starter kit lets you use Gulp as a task runner, and integrates it with the Gradle build and watch-flow.
Gulp is a great tool for transforming, concatenating, minifying and optimizing your static assets, as well as automating your front end work flow.
The starter kit is unopinionated, and lets you decide what technologies you want to use to create your next web application.
In addition to this, this starter kit bootstraps the suggested project folder structure, and creates some NPM scripts for triggering different tasks.
- First release
Clone Gulp Starter
This version requires XP 7.0.0 or above.
Use Enonic CLI to set up your project.
Run the following command:
This version requires XP 6.15.0
To initialize a new project based on Gulp Starter, execute the command below. Remember to replace <com.company.myapp> with a unique name for your app, and </my/projects> with the location you want to store the project. <$XP_INSTALL> is the location of your XP installation.
The init-project tool initializes a new application project structure by retrieving a Git repository, removing all references to the Git repository, and adapting its build file properties (gradle.properties).