1.1.5 • Published 2 years ago
the-bugging v1.1.5
the-bugging
Table of Contents
Requirements
- Grab your projectKey at www.thebugging.com.
P.S.: This is only for web projects as it heavily depends on the DOM window.
P.S.2: It is SSR ready for projects using Next.js but still only meant to be run on the client.
Installation
- First, add the dependency to your project
npm install the-bugging
- Or alternatively, with yarn:
yarn add the-bugging
- With a valid projectKey, simply start at the very top of your web project like so:
import TheBugging from "the-bugging";
TheBugging.init({ projectKey: "VALID-PROJECT-KEY" });
- Create React App index.jsx:
import { createRoot } from "react-dom/client";
import TheBugging from "the-bugging";
import App from "./App";
TheBugging.init({ projectKey: "VALID-PROJECT-KEY" });
const rootElement = document.getElementById("root");
const root = createRoot(rootElement!);
root.render(<App />);
- Next.js _app.jsx
import TheBugging from "the-bugging";
function MyApp({ Component, pageProps }) {
TheBugging.init({ projectKey: "VALID-PROJECT-KEY" });
return <Component {...pageProps} />;
}
export default MyApp;
1.1.5
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.1.4
2 years ago
1.1.3
2 years ago
1.1.2
2 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago