This is a basic setup for Angular 2 which allows you to embed a review component in your application. Sample in below website uses [email protected].
You can install angular-review-ui using npm:
npm install angular-review-ui --save
// In your App's module:
import { ReviewModule, ReviewComponent } from 'angular-review-ui';
imports: [
ReviewModule
],
declarations: [
ReviewComponent
]
// In systemjs.config.js
map: {
'angular-review-ui': 'node_modules/angular-review-ui'
},
packages: {
'angular-review-ui': {
main: './index.js',
defaultExtension: 'js'
}
}
Import ReviewComponent
in your app. Then you can use review
component:
<review-component></review-component>
Please follow this guidelines when reporting bugs and feature requests:
- Please always write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.
Thanks for understanding!