18 lines
450 B
Markdown
18 lines
450 B
Markdown
|
|
# Conventions (Short)
|
||
|
|
|
||
|
|
## CSS
|
||
|
|
- All project files use `app-` prefix.
|
||
|
|
- Vendor overrides use `vendor-` prefix.
|
||
|
|
- Structure: `base/`, `layout/`, `components/`, `pages/`.
|
||
|
|
|
||
|
|
## JS
|
||
|
|
- All project files use `app-` prefix.
|
||
|
|
- Vendor scripts stay in `web/vendor`.
|
||
|
|
- Structure: `core/`, `components/`, `pages/`.
|
||
|
|
|
||
|
|
## Partials
|
||
|
|
- All partials use `app-` prefix (e.g. `app-footer.phtml`).
|
||
|
|
|
||
|
|
## PHP (Lib)
|
||
|
|
- Services in `lib/Service`, repositories in `lib/Repository`.
|