@mentax/sentry-init-angular
v0.0.4
Published
Sentry init for Angular projects
Downloads
3
Keywords
Readme
Sentry Init Angular
This project was generated with Angular CLI version 11.0.6.
Install
Download package
npm i @mentax/sentry-init-angular
Then add to SentryAngularInitModule
into imports in app.module.ts
import {SentryAngularInitModule} from '@mentax/sentry-init-angular'
@NgModule({
imports: [
SentryAngularInitModule
]
})
export class AppModule {}
Finally init Sentry inside main.ts file
import {SentryConfig} from '@mentax/sentry-init-angular';
const dsn = '';
SentryConfig.init(dsn);