# nobj-build-templates

A set of templates for Frontend Applications and Libraries, used by nobj-build-tools

## Template Types

| Folder | Subfolder | Description                                                                                                       |
|--------|-----------|-------------------------------------------------------------------------------------------------------------------|
| app    |           | Templates for Javascript Frontend Applications                                                                    |
| lib    |           | Templates for Javascript Library Modules                                                                          |

## Template Structure

| Folder | Subfolder | Description                                                                                                                                                                                                     |
|--------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| css    |           | Folder for template CSS files. These files are not copied into the user build space, but included and packed at build time                                                                                      |
| src    |           | Folder for the template JS Modules. These files are not copied into the user build space, but included and obfuscated at build time                                                                             |
| assets |           | The Template Assets folder is copied recursively over the Web Root at build time                                                                                                                                |
| user   |           | Contents below this folder are the ones copied as "new application" when the user creates an application with this template. The user is expected to modify them, and add new files as required by the project. |
|        | css       | User CSS files, will be packed at buildtime                                                                                                                                                                     |
|        | src       | User Source Folder. Can have an arbitrary number of subfolders                                                                                                                                                  |
|        | assets    | User Assets, will be copied recursively to the web root. These are copied after the Template Assets, and can overwrite any file there.                                                                          |
