@databrainhq/plugin
Databrain app UI web component plugin.
npm: @databrainhq/plugin
v0.15.135-uat
Code Style: StandardJS
Enforced using StandardJS styleguide.
Install
Github Repo Link
https://github.com/databrainhq/dbn-demos-updated/tree/main/dbn-demo-solidUsage
Quick usage:App.tsx
dbn-metric
webcomponent:
Token
Thetoken
should be a guest token, fetched from your backend based on the current user’s login information. You can follow the document below for guest token generation.
Here is an example with sample token and dashboardId that you can use in your frontend app to get started without a backend.
Breakdown:
Import the library main or index or App or layout filedbn-dashboard
, dbn-metrics
are available to use anywhere inside your app. And you can use it anywhere in your app like: