code.gitea.io/gitea@v1.21.7/web_src/js/webcomponents/README.md (about) 1 # Web Components 2 3 This `webcomponents` directory contains the source code for the web components used in the Gitea Web UI. 4 5 https://developer.mozilla.org/en-US/docs/Web/Web_Components 6 7 # Guidelines 8 9 * These components are loaded in `<head>` (before DOM body), 10 so they should have their own dependencies and should be very light, 11 then they won't affect the page loading time too much. 12 * If the component is not a public one, it's suggested to have its own `Gitea` or `gitea-` prefix to avoid conflicts.