ReactJS-AdminLTE
ReactJS-AdminLTE copied to clipboard
How to use with Meteor JS?
I would like to use this with Meteor JS
.
But I don't understand to install, config and more...
Please help me.
I haven't used MeteorJS
before, but using this template along with it should be fairly straighforward. I came across this tutorial, which could help you understand how to use React components with Meteor - http://react-in-meteor.readthedocs.org/en/latest/
Do try it out and let me know if this helps.
You'll need to do some manual work to make them readily usable. Example:
import React from 'react';
const InfoTile = ({ children, theme, icon, title, stats, content }) => (
<div className={`info-box ${theme}`}>
<span className="info-box-icon">
<i className={`fa ${icon}`}></i>
</span>
<div className="info-box-content">
<span className="info-box-text">{title}</span>
<span className="info-box-number">{stats}</span>
{children}
</div>
{content}
</div>
);
InfoTile.propTypes = {
content: React.PropTypes.node,
icon: React.PropTypes.string,
stats: React.PropTypes.string,
title: React.PropTypes.string,
theme: React.PropTypes.string,
children: React.PropTypes.node
};
InfoTile.defaultProps = {
content: '',
icon: 'fa-star-o',
stats: '0',
title: 'Default',
theme: 'bg-aqua'
};
export default InfoTile;
@thearabbit : how's your installation of this template in MeteorJS? I was planning to do the same.