0.0.3 • Published 9 years ago
aurelia-react v0.0.3
aurelia-react plugin
An Aurelia plugin to enable the use of React components within Aurelia views.
Installation
Install the plugin through jspm:
jspm install aurelia-react
Next register the plugin with Aurelia, also register your react components with the plugin:
import { ReactComponent } from 'components/my-react-component';
import * as Components from 'components/components';
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
+ .plugin('aurelia-react', {
+ ReactComponent,
+ Components
+ });
aurelia.start().then(() => aurelia.setRoot());
}