2.0.1 • Published 7 years ago

nchannel-component v2.0.1

Weekly downloads
1
License
BSD
Repository
-
Last release
7 years ago

nchannel component

Get the AMD module located at nchannel-component.js and include it in your project.

Here is a sample integration:

require.config({
  paths: {
    'react': 'vendor/bower_components/react/react',
    'NchannelComponent': 'nchannel-component'
  }
});

require(['react', 'NchannelComponent'], function(React, NchannelComponent) {

  React.render(React.createElement(NchannelComponent), 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;