ss-mobile-components

0.0.1 • Public • Published

react amw webpack

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

Here is a sample integration:

require.config({
  paths: {
    'ssComponent': 'ss-component'
  }
});

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i ss-mobile-components

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • smy