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
The Bugbattle SDK for JavScript is the easiest way to integrate Bugbattle into your apps! Achieve better app quality & ratings with comprehensive in-app bug reporting. BugBattle offers affordable In-App Bug Reporting for Apps, WebApps & Websites.
6
+
7
+
## Docs & Examples
8
+
9
+
Checkout our [documentation](https://docs.bugbattle.io/docs/javascript-sdk) for full reference.
3
10
4
11
## ❤️ Demo
5
12
@@ -20,49 +27,65 @@ Achieve better app quality & ratings with comprehensive in-app bug reporting. Bu
20
27
21
28
2.) Include the BugBattle JS SDK within your apps.
22
29
23
-
NPM / YARN:
30
+
### Installation via nom
31
+
32
+
Install the **bugbattle** package via npm or yarn.
24
33
```
25
34
npm install bugbattle --save
26
35
```
27
36
28
-
OR add the following lines to your website's / webapp's head-tag:
37
+
Import the **bugbattle** package.
38
+
```
39
+
import BugBattle from 'bugbattle';
40
+
```
41
+
42
+
### Manual installation
43
+
44
+
Add the following lines to your website's / webapp's ```<head>```-tag:
Add the following code to your app / website to initialize the BugBattle JavaScript SDK. Replace "YOUR-SDK-TOKEN-HERE" with your actual sdk token.
53
+
Add the following code to to initialize the BugBattle JavaScript SDK. Replace "YOUR-SDK-TOKEN-HERE" with your actual SDK token from the [Bugbattle dashboard](https://app.bugbattle.io).
0 commit comments