1.0.0 • Published 7 years ago
npm-react-components v1.0.0
npm react components
Get the AMD module located at npm-react-components.js
and include it in your project.
Here is a sample integration:
require.config({
paths: {
'react': 'vendor/bower_components/react/react',
'NpmReactComponents': 'npm-react-components'
}
});
require(['react', 'NpmReactComponents'], function(React, NpmReactComponents) {
React.render(React.createElement(NpmReactComponents), 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
;
1.0.0
7 years ago