File structure - GideonJagen/Plando GitHub Wiki
In order to maintain a maintainable and extensible file structure we will opt for a file structure where components are collected in a ./components/
folder, with the python files.
Looking at the Dash guide Adding CSS & JS and Overriding the Page-Load Template, adding custom local .css
and .js
is done by simply placing those files in ./assets/
.
Such that the file structure will look like the following:
./
app.py
callbacks.py
assets/
one.css
one.js
two.css
two.js
components/
one.py
two.py
Preferable, if possible
Within each component folder folder, there's a collection of .py
, .css
, .js
files that contain all logic and styling specifically for that component.
This might be possible if it is possible to compose .css
or .js
files from within the components
folders.