1.0.1 • Published 9 years ago
jwl-react-component v1.0.1
react component
Get the AMD module located at react-component.js and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'ReactComponent': 'react-component'
}
});
require(['react', 'ReactComponent'], function(React, ReactComponent) {
React.render(React.createElement(ReactComponent), document.getElementById('widget-container'));
});Development
- Development server
npm start. - Continuously run tests on file changes
npm run watch-test; - Run tests:
npm test; - Build
npm run build;