@databrainhq/plugin 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @databrainhq/plugin
|
|
2
2
|
|
|
3
|
+
### NOTE:
|
|
4
|
+
|
|
5
|
+
Before npm publish do this way:
|
|
6
|
+
|
|
7
|
+
VITE_END_POINT=.. npm install
|
|
8
|
+
|
|
3
9
|
> Databrain app ui plugin.
|
|
4
10
|
|
|
5
11
|
[](https://www.npmjs.com/package/@databrainhq/plugin) [](https://standardjs.com)
|
|
@@ -13,12 +19,12 @@ VITE_END_POINT="GET YOUR END POINT FROM DATABRAIN MANAGER" npm install github:da
|
|
|
13
19
|
## Usage
|
|
14
20
|
|
|
15
21
|
```tsx
|
|
16
|
-
import { Dashboard } from '@databrainhq/plugin'
|
|
17
|
-
import '@databrainhq/plugin/dist/style.css'
|
|
22
|
+
import { Dashboard } from '@databrainhq/plugin';
|
|
23
|
+
import '@databrainhq/plugin/dist/style.css';
|
|
18
24
|
|
|
19
25
|
const Example = () => {
|
|
20
|
-
return <Dashboard token={/* Your Guest Token */}
|
|
21
|
-
}
|
|
26
|
+
return <Dashboard token={/* Your Guest Token */} />;
|
|
27
|
+
};
|
|
22
28
|
```
|
|
23
29
|
|
|
24
30
|
## License
|