How To Contribute
Contributing to AdminLTE
Contributions are always welcome and recommended! Here is how for beginner’s: Get started with open source click here
-
Contribution Requirements :
- When you contribute, you agree to give a non-exclusive license to AdminLTE.io to use that contribution in any context as we (AdminLTE.io) see appropriate.
- If you use content provided by another party, it must be appropriately licensed using an open source license.
- Contributions are only accepted through GitHub pull requests.
- Finally, contributed code must work in all supported browsers (see above for browser support).
-
Installation :
- Fork the repository (here is the guide).
- Clone to your machine
git clone https://github.com/YOUR_USERNAME/AdminLTE.git- Create a new branch from
master
-
Compile dist files (Development) :
- To compile the dist files you need Node.js 22.22.3+, 24.16.0+, or 26.3.0+ and npm 10+
npm ci(install the locked dependency tree)-
npm run dev(developer mode, asset watchers and Astro live demo at http://localhost:3000) -
Make your changes only in
./srcFolder ORpackage.jsonin any files which are necessary for contribution -
Do not make changes in
./dist/**Because it contains compiled files and do not include in PR (Pull Request) -
npm test(unit tests), thennpm run buildandnpm run test-browser/npm run test-a11y(install browsers withnpx playwright install chromium) -
npm run production(lint, run unit tests, compile assets, and check gzip budgets before creating a pull request)
-
Create a pull request to
masterbranch
Online one-click setup for contributing
You can use Codespace an online IDE which is free for Open Source for working on issues or making PRs (Pull Requests). With a single click it will launch a workspace and automatically:
- clone the
AdminLTErepo. -
Open with Codespace or
- install the dependencies.
- run
npm run devto start the server.