Merge pull request #378 from Grahack/patch-3
App structure: add core.cljs for multipanel apps
This commit is contained in:
commit
80647261d1
|
@ -44,6 +44,7 @@ Assuming your larger apps have multiple "panels" (or "views") which are
|
||||||
relatively independent, you might use this structure:
|
relatively independent, you might use this structure:
|
||||||
```
|
```
|
||||||
src
|
src
|
||||||
|
├── core.cljs <--- entry point, plus history, routing, etc
|
||||||
├── panel-1
|
├── panel-1
|
||||||
│ ├── db.cljs <--- schema, validation, etc (data layer)
|
│ ├── db.cljs <--- schema, validation, etc (data layer)
|
||||||
│ ├── subs.cljs <--- subscription handlers (query layer)
|
│ ├── subs.cljs <--- subscription handlers (query layer)
|
||||||
|
|
Loading…
Reference in New Issue