1.1.5 • Published 9 months 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
9 months ago
1.1.1
1 year ago
1.1.0
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.0.19
1 year ago
1.0.18
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago