In the previous chapter, we discussed how to use the Cordova CLI in order to create new projects and manage the platforms and plugins within each project. This works well, except for one thing: the www
folder in your project is already pre-populated with files that need replacing. Wouldn't it be great if you could create a new Cordova project with all the files you needed in the www
folder instead? In order to do this, we need to create a template that holds the files we actually want to have in our projects.
It should be noted that if you don't want to go through the work of creating a template, you can download the code package for this book and use ours instead.