2.0.0 • Published 7 years ago

myproject2 v2.0.0

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

myproject

Get the AMD module located at myproject.js and include it in your project.

Here is a sample integration:

require.config({
  paths: {
    'react': 'vendor/bower_components/react/react',
    'Myproject': 'myproject'
  }
});

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

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