README
@ohbug/angular
English | 简体中文
Installation
yarn add @ohbug/browser @ohbug/angular
Usage
// app.module.ts
import Ohbug from '@ohbug/browser'
import { ErrorHandler } from '@angular/core'
const client = Ohbug.init({ apiKey: 'YOUR_API_KEY' })
const OhbugProvider = client.use(OhbugAngular, ErrorHandler)
@NgModule({
// others
providers: [OhbugProvider],
})
export class AppModule {}