You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -241,60 +260,6 @@ Add a script to `package.json` that reads a `.env` file and calls `symbol-upload
241
260
242
261
For best results, please upload source maps for every released version of your application.
243
262
244
-
## 🚀 Standalone Components
245
-
246
-
For Angular applications using standalone components, you can integrate BugSplat without using NgModule. Import and configure BugSplat directly in your `main.ts` file:
247
-
248
-
```typescript
249
-
import { enableProdMode, importProvidersFrom, ErrorHandler } from '@angular/core';
250
-
import { bootstrapApplication } from '@angular/platform-browser';
251
-
import { AppComponent } from './app/app.component';
252
-
import { environment } from './environments/environment';
253
-
import { BugSplatLogger, BugSplatLogLevel, BugSplatModule } from 'bugsplat-ng';
254
-
import { MyAngularErrorHandler } from './app/my-angular-error-handler';
returnthis.bugsplat.post(error, { description: 'Error from standalone component app' });
294
-
}
295
-
}
296
-
```
297
-
298
263
## 🧑💻 Contributing
299
264
300
265
BugSplat loves open-source software! If you have suggestions on how we can improve this integration, please reach out to support@bugsplat.com, create an [issue](https://github.com/BugSplat-Git/bugsplat-ng/issues) in our [GitHub repo](https://github.com/BugSplat-Git/bugsplat-ng) or send us a [pull request](https://github.com/BugSplat-Git/bugsplat-ng/pulls).
0 commit comments