Files
Homarr/src/components/modules
ajnart e1eab70f93 Match config with URL typed
Homarr will now match a config with the URL used or return a 404 if not found
2022-05-21 01:01:20 +02:00
..
2022-05-21 01:01:20 +02:00
2022-05-18 22:50:53 +02:00
2022-05-18 23:11:58 +02:00
2022-05-17 20:58:55 +02:00
2022-05-18 23:13:32 +02:00
2022-05-17 22:59:02 +02:00
2022-05-14 01:14:56 +02:00

Each module has a set of rules:

  • Exported Typed IModule element (Unique Name, description, component, ...)
  • Needs to be in a new folder
  • Needs to be exported in the modules/newmodule/index.tsx of the new folder
  • Needs to be imported in the modules/index.tsx file
  • Needs to look good when wrapped with the modules/ModuleWrapper component
  • Needs to be put somewhere fitting in the app (While waiting for the big AppStore overhall)
  • Any API Calls need to be safe and done on the widget itself (via useEffect or similar)
  • You can't add a package (unless there is a very specific need for it. Contact @Ajnart or make a Discussion.