Browser plugin for bug reporting.
Feature | Available |
---|---|
Bug reporting | ✅ |
Crash reporting | ❌ |
Users | ❌ |
If using npm, execute the npm install command in your terminal:
npm install @shakebugs/browser
Alternatively, library can be added to your project through CDN. Bundle is delivered through JSDelivr CDN.
Add the following script to your code:
<script type="module">
import Shake from 'https://cdn.jsdelivr.net/npm/@shakebugs/browser@latest/+esm';
window.Shake = Shake;
</script>
Once installed, you can start using the library by including it in your JavaScript files or directly within your HTML.
Call Shake.start()
at the top level of your app
Call Shake.start()
in your index.js file.
// Import the library if using ES6 modules
import Shake from '@shakebugs/browser';
Shake.start('client-id', 'client-secret', 'website-domain');
Call Shake.start()
in your main file.
<body>
<script>
window.Shake.start('client-id', 'client-secret', 'website-domain');
</script>
</body>
Replace client-id
, client-secret
and website-domain
with the actual values you have in your workspace settings.