@ohbug/angular

Ohbug SDK for Angular

Usage no npm install needed!

<script type="module">
  import ohbugAngular from 'https://cdn.skypack.dev/@ohbug/angular';
</script>

README

@ohbug/angular

npm npm bundle size Code style

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 {}