baseline
This commit is contained in:
17
docs/conventions.md
Normal file
17
docs/conventions.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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`.
|
||||
Reference in New Issue
Block a user