ReactJS version of the original AdminLTE dashboard - https://github.com/almasaeed2010/AdminLTE. This project consists of widgets, charts and other components written in ReactJS. Stylesheets are borrowed from the AdminLTE project.
If you use React in your app, you might find some of these components useful!
-
UI Elements turning up.
Click here to see it live
-
Click here to see it live
-
Click here to see a live preview!
Widgets will use velocity.js animations instead of the originally used JQuery animations wherever possible, for improved performance across all browsers and devices.
Will soon be populated with charts.
More stuff coming soon. Stay tuned!
Due to several work related commitments, the development rate is a little slow and I apologize for that. However, I'm looking for awesome folks 🤘 who could contribute and help me maintain this project. If you have any queries that you may have on how to contribute, or you have just general questions about how to use the components in your app - feel free to shoot an email. I'll help you out! 😸
- Fork or clone this repo. Alternatively - if you have NPM installed, you can also do
npm install adminlte-reactjs
. - Install nodejs and NPM
- Go to the project's root folder from your terminal and run
npm install
- Run
node server.js
- Going to http://localhost:8000 will render an empty dashboard skeleton in the client-side using ReactJS. Clicking on one of the dashboard options on the left pane displays the original dashboards from AdminLTE.
- Go to http://localhost:8000/widgets.html to see available widgets in ReactJS.
- Use React Developer Tools Chrome Extension to understand the components hierarchy and structure and to track down bugs.
- React Hot Loader can be used to ease your development workflow. This can be done by installing dev dependencies from
package.json
file. If you haven't, then runnpm install webpack-dev-server
andnpm install react-hot-loader
. - Then in your HTML, change your javascript bundles' source paths to point to the webpack-dev-server proxy in your
script
tags. So if you have something like this
<script src="/dist/js/vendors.js"></script>
<script src="/dist/js/app.bundle.js"></script>
change this to
<script src="http://localhost:8080/dist/js/vendors.js"></script>
<script src="http://localhost:8080/dist/js/app.bundle.js"></script>
For a detailed explanation on setting up a workflow using Webpack, check out my blog post - Webpack for The Fast and The Furious 🚔
This is still a work in progress and will get better over time. Will try and think of more essential features.
- Re-usable chart components
- Command line options to choose between client-side rendering and server-side rendering in ReactJS
- Including D3 / C3 charts