iontom / ReactJS-AdminLTE

ReactJS version of the original AdminLTE dashboard - https://github.com/almasaeed2010/AdminLTE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS-AdminLTE

ReactJS version of the original AdminLTE dashboard - https://github.com/almasaeed2010/AdminLTE

UPDATES:

Widgets will use velocity.js animations instead of the originally used JQuery animations wherever possible, for improved performance across all browsers and devices.

ReactJS Dashboard

Will soon be populated with charts.

More stuff coming soon. Stay tuned!

Instructions to run

  • Fork or clone this repo
  • Install nodejs and NPM
  • Go to the project folder reactjs-adminlte 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.

For development

  • 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 run npm install webpack-dev-server and npm 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. Looking for feedback and contributions! For any discussions or queries, send an email.

Upcoming stuff

  • Re-usable chart components
  • Command line options to choose between client-side rendering and server-side rendering in ReactJS
  • Including D3 / C3 charts

About

ReactJS version of the original AdminLTE dashboard - https://github.com/almasaeed2010/AdminLTE

License:Other


Languages

Language:JavaScript 52.8%Language:HTML 39.5%Language:CSS 7.7%Language:PHP 0.0%