Styling - GermanZero-de/localzero-monitoring GitHub Wiki
We use Tabler (and Bootstrap) as css framework. Custom scss can be written in main.scss. Whenever this file has changed it has to be compiled with
yarn run compile:css
to generate a static css file.
To save this manual step, you can also run
yarn run compile:css:watch
# or on WSL2 if the project is on the Windows file system (eats CPU...):
yarn run compile:css:poll
in the background so that changes in the scss file are compiled automatically.
To use the javascript from Tabler the relevant dependencies need to be installed in the node_modules folder. Run
yarn install