0.0.3 • Published 9 years ago

aurelia-react v0.0.3

Weekly downloads
2
License
CC0-1.0
Repository
github
Last release
9 years ago

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());
}

Usage

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

1.0.0

9 years ago