Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 711 Bytes

README-zh_CN.md

File metadata and controls

29 lines (21 loc) · 711 Bytes

@ohbug/angular

npm npm bundle size

English | 简体中文

安装

pnpm instal @ohbug/browser @ohbug/angular

使用

// app.module.ts
import Ohbug from '@ohbug/browser'
import { ErrorHandler } from '@angular/core'
import OhbugAngular from '@ohbug/angular'

const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })

@NgModule({
  // others
  providers: [OhbugAngular(client, ErrorHandler)],
})
export class AppModule {}