For an explanation of each file and directory area, see below.
For the terms used in each directory, see Terminology.
| name | explanation |
|---|---|
| output | Build output directory. Generated automatically after the build is executed. |
| src | Source Code directory. |
| - app | Script source directory Basically, the source is placed in a ts file for each class. Regarding class names, you can set derived classes inherited from preset core library classes and your own classes. For the preset core library classes, see here |
| - - background | Background class directory.Explanation here |
| - - config | Directory for various setting classes.Explanation here |
| - - controller | Controller placement directory. Explanation here |
| - - dialog | Dialog class directory.Explanation here |
| - - view | View class directory.Explanation here |
| - - validation | Validation class directory.Explanation here |
| - rendering | Rendering HTML placement directory |
| - - dialog | Directory for placing dialog HTML. Explanation here |
| - - template | Directory for placing template HTML. Explanation here |
| - - view | Directory for placing HTML for View. Explanation here |
| - - ui | Directory for placing HTML for UI. Explanation here |
| 〜resource | Directory for placing resource contents. Explanation here |
| src_{platform_name} | Platform-specific source code directories If you want to place or change code information at build time for each platform, add it here.Explanation here |
| init.d.ts | Type definition file for TypeScript |
| package.json | Build setting json. Explanation here |
| tsconfig.json | TypeScript transpilation configuration json |