Licence
CC0-1.0
Version
0.0.3
Deps
0
Vulns
0
Weekly
0
DeprecatedThis package is deprecated
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());
}