Aloe installer allows you to quickly install files and routes from your library into the working directory. Aloe installer currently only suports Leaf MVC and Leaf API.
To get started with Aloe installer, just import the package into your app or directly use the method you want to use directly.
This method allows you to auto-magically copy all files and folders from a specified folder into Leaf workspace.
Consider the following directory structure:
To copy our controllers, routes and views, we simply need to point
magicCopy to the auth directory.
This will copy the sub directories in Auth to the
App folder in the working directory.
Similarly, you can also automatically install routes from your package routes in your app after you've copied them into the working routes directory.
Installing routes involves referencing routes files in the main route file.