What is the correct way include a css file in an app?
I created a custom app. I installed it to the site and its definitely loaded because it shows in the About Dialog.
-
I put my css file in app_name/public/css/my_css.css
-
I added it to the corresponding css line in hooks.py:
app_include_css = “/assets/app_name/css/my_css.css”
When I reload the erpnext desk and look at the source code, I don’t see any indication that my_css.css is actually loading anywhere.
Am I missing something?
I looked at the Asset Bundling stuff in the Frappe Documentation. That stuff seems more complicated. I tried it anyway and I couldn’t get it to work either.