-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathReadme.md.tpl.default
105 lines (79 loc) · 4.43 KB
/
Readme.md.tpl.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# {appName} Dashboard
The {appName} Dashboard is an application template for you to copy and adapt to suite
your specific needs. While you can remove the files and folders that your application
does not use, be sure to read below before deciding what can be deleted and what needs
to be kept in source control.
The following files are all needed to build and load the application.
- `"app.js"` - The file that launches the application. This is primarily used to
launch an instance of the `{appName}.Application` class.
- `"app.json"` - The application descriptor which controls how the application is
built and loaded.
- `"index.html"` - The default web page for this application. This can be customized
in `"app.json"`.
- `"build.xml"` - The entry point for Sencha Cmd to access the generated build
script. This file is a place where you can hook into these processes and tune
them. See the comments in that file for more information.
- `".sencha"` - This (typically hidden) folder contains the generated build scripts
and configuration files for the application. This folder is required in order to
build the application but its content should not need to be edited in most cases.
The content of this folder is updated by "sencha app upgrade".
These files can be ignored from source control as they are regenerated by the build
process.
- `"build"` - This folder contain the output of the build. The generated CSS file,
consolidated resources and concatenated JavaScript file are all stored in this
folder.
- `"bootstrap.*"` - These files are generated by the build and watch commands to
enable the application to load in "development mode".
# Other Folders
## Application Structure
This application is a Universal Application. The following folders contain the code,
resources, etc. that are shared by both Classic and Modern build profiles.
app/ # Contains JavaScript code
model/ # Data model classes
view/ # Views as well as ViewModels and ViewControllers
store/ # Data stores
controller/ # Global / application-level controllers
overrides/ # JavaScript code that is automatically required
sass/
etc/ # Misc Sass code (all.scss is imported by default)
var/ # Sass variable and mixin declarations
src/ # Sass rules
resources/ # Assets such as images, fonts, etc.
See the [Sass readme](sass/Readme.md) for details on the "sass" folder.
The following additional directories are used to isolate code and other files that are
toolkit-specific:
classic/ # Content specific to the classic toolkit
src/
model/ # Data model classes
view/ # Views as well as ViewModels and ViewControllers
store/ # Data stores
controller/ # Global / application-level controllers
overrides/ # JavaScript code that is automatically required
sass/
etc/ # Misc Sass code (all.scss is imported by default)
var/ # Sass variable and mixin declarations
src/ # Sass rules
resources/ # Assets such as images, fonts, etc.
modern/ # Content specific to the modern toolkit
src/
model/ # Data model classes
view/ # Views as well as ViewModels and ViewControllers
store/ # Data stores
controller/ # Global / application-level controllers
overrides/ # JavaScript code that is automatically required
sass/
etc/ # Misc Sass code (all.scss is imported by default)
var/ # Sass variable and mixin declarations
src/ # Sass rules
resources/ # Assets such as images, fonts, etc.
## Overrides
The contents of "overrides" folders are automatically required and included in
builds. These should not be explicitly mentioned in "requires" or "uses" in code.
This area is intended for overrides like these:
Ext.define('{appName}.overrides.foo.Bar', {
override: 'Ext.foo.Bar',
...
});
Such overrides, while automatically required, will only be included if their target
class ("Ext.foo.Bar" in this case) is also required. This simplifies applying
patches or extensions to other classes.