agutoli-teste

1.0.3 • Public • Published

react comp

Get the AMD module located at react-comp.js and include it in your project.

Here is a sample integration:

require.config({
  paths: {
    'react': 'vendor/bower_components/react/react',
    'ReactComp': 'react-comp'
  }
});
 
require(['react', 'ReactComp'], function(React, ReactComp) {
 
  React.render(React.createElement(ReactComp), 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;

Package Sidebar

Install

npm i agutoli-teste

Weekly Downloads

0

Version

1.0.3

License

BSD

Last publish

Collaborators

  • bruno_agutoli